-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
108 lines (91 loc) · 1.96 KB
/
main.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
html, body {
height: 100%;
min-height: 100%;
font-family: Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
border: 0px;
}
button {
border: none;
height: 50px;
min-height: 100%;
width: 85px;
background-color: #4CAF50;
color: white;
text-align: center;
font-size: 16px;
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
margin-right: 15px;
}
button:hover {
background-color: #3CB371;
color: white;
}
select {
margin-right: 15px;
margin-top: 3px;
font-size: 13px;
border-radius: 0;
text-align-last: center;
-webkit-tap-highlight-color: transparent; /* Fixes weird blue blink on iOS on select. */
}
input[type=checkbox] {
margin-right: 5px;
opacity : 1;
}
body {
height: 100%;
min-height: 100%;
}
#usercode {
margin: 0px;
height: 70%;
min-height: 70%;
}
#executionresult {
height: 100vh;
font-size: 13px;
}
#editorcontainer {
display: flex;
min-height: 100%;
height: 100%;
flex-direction: column;
-webkit-tap-highlight-color: transparent; /* Fixes weird blue icon on iOS when page loads. */
}
#menu {
min-height: 50px;
display: flex;
align-items: center;
background-color: #DCDCDC;
}
#enableAutoComplete {
vertical-align: middle;
}
select {
height: 25px;
}
#selectLanguageContainer, #selectThemeContainer {
text-align:center;
margin-left: 3px;
}
/* For screens with limited width (eg. cellphones on portrait mode). */
@media only screen and (max-width: 500px) {
#editorOptions, #selectThemeContainer {
display: none;
}
#selectLanguageContainer {
margin: auto;
width: 50%;
}
}
/* For screens with limited height (eg. cellphones on landscape mode). */
@media only screen and (max-height: 500px) {
/* Makes the code div smaller to give more space for the results. */
#usercode {
height: 55%;
min-height: 55%;
}
}