-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (116 loc) · 2.29 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
body{
background-color:rgb(136, 243, 184);
margin-top: 8%;
}
.big-title{
color:rgb(1, 81, 76);
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
text-align:center;
}
.margin-centered{
margin-left:10%;
}
/*add responsiveness*/
.container{
margin-left:0.5%;
display:grid;
gap:15px;
grid-template-rows:1fr 2fr;
grid-template-columns:1fr 1fr 1fr;
height:40%;
}
.headings{
display:flex;
flex-direction:row;
width:100%;
height:10vh;
justify-content:center;
align-items:center;
gap:10px;
margin-bottom:15px;
}
.one,.two,.three,.four{
height:40px;
width:60px;
background-color:rgb(143, 233, 188);
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
button {
height:40px;
width:60px;
font-size: 20px;
}
.run{
align-self:flex-end;
color:white;
background-color:rgb(17, 109, 78);
}
label{
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.html, .css, .js, .result{
display:none;
}
.html.open, .css.open, .js.open, .result.open{
display:grid;
grid-template-columns:1fr;
grid-template-rows:1fr;
gap:0;
}
.html.open, .css.open, .js.open {
border:1px solid rgb(83, 219, 151);
}
.html.open pre,
.html.open textarea,
.css.open pre,
.css.open textarea,
.js.open pre,
.js.open textarea {
grid-area: 1 / 1 / 2 / 2;
}
textarea {
background-color: transparent;
color: transparent;
border: none;
caret-color: #000;
/* overflow: auto; */
padding-top: 3%;
padding-left: 4.6%;
font-family: monospace;
font-size: 15px;
}
button {
background-color: rgb(67, 222, 160) !important;
border:rgb(0, 82, 45) !important;
color: rgb(4, 87, 63);
font-size: 15px;
}
.result.open{
grid-column:span 3;
border: 0px;
}
textarea {
margin-top: 2%;
}
textarea, pre {
line-height: 2.0;
margin: 0 !important;
}
@media(max-width:500px){
.container{
margin-left:0.5%;
display:grid;
gap:10px;
grid-template-rows:1fr 1fr 1fr 3fr;
grid-template-columns:1fr;
height:40%;
}
.result.open{
grid-column:span 1;
}
.one,.two,.three,.four,button{
height:40px;
width:55px;
font-size:12px;
}
}