Skip to content

Commit b274bf7

Browse files
authored
Merge pull request #5 from jbdo99/dev
Betterocaml v 1.0
2 parents 20cfb5d + d88f88f commit b274bf7

7 files changed

Lines changed: 455 additions & 243 deletions

File tree

src/css/codemirror/codemirror.min.css

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/index.css

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,27 @@ body, html {
77
font-size: 1em;
88
}
99

10+
nav{
11+
height: auto!important;
12+
}
13+
1014
nav .brand-logo {
1115
padding-left: 1rem !important;
16+
font-size: 1.8rem!important;
1217
}
1318

1419
nav i, nav i.material-icons {
15-
font-size: 18px !important;
20+
display: inline !important;
1621
}
1722

1823
.container {
1924
display: flex;
2025
flex: 1 1 auto;
2126
width: 100% !important;
2227
max-width: 80000px !important;
23-
height: 100% !important;
28+
height: 85vh!important;
2429
}
30+
2531
.horizontal {
2632
flex-direction: row;
2733
}
@@ -30,7 +36,7 @@ nav i, nav i.material-icons {
3036
}
3137

3238
.box {
33-
flex: 1 1 0px;
39+
flex: 1 1 0;
3440
display: flex;
3541
overflow-x: hidden;
3642
overflow-y: auto;
@@ -40,7 +46,6 @@ nav i, nav i.material-icons {
4046
.errorloc{
4147
border-bottom-width: 3px;
4248
border-bottom-style: solid;
43-
border-bottom-color: red;
4449
}
4550

4651
.resizer {
@@ -60,13 +65,17 @@ nav i, nav i.material-icons {
6065
width: 100% !important;
6166
}
6267

68+
.code-box{
69+
height: 100% !important;
70+
}
71+
6372

6473

6574
#vertical-line {
6675
border-left: 4px solid lightgrey;
6776
position: absolute;
6877
left: 50%;
69-
top: 0%;
78+
top: 0;
7079
margin-left: -2px;
7180
height: 100%;
7281
}
@@ -108,7 +117,7 @@ code, kbd, pre, samp {
108117
#toplevel-container #output {
109118
background-color: transparent;
110119
border: none;
111-
margin-bottom: 0px;
120+
margin-bottom: 0;
112121
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
113122
}
114123

@@ -121,8 +130,8 @@ code, kbd, pre, samp {
121130
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
122131
font-weight: bold;
123132
float: left;
124-
margin: 0px;
125-
padding: 0px;
133+
margin: 0;
134+
padding: 0;
126135
}
127136

128137
#toplevel-container #sharp {
@@ -139,5 +148,48 @@ code, kbd, pre, samp {
139148
}
140149

141150

151+
.indicator{
152+
display: none;
153+
}
154+
155+
.tabs{
156+
font-size: 0.9rem;
157+
}
158+
159+
160+
.onglet {
161+
border-top-right-radius: 0.8rem;
162+
border-top-left-radius: 0.8rem;
163+
text-transform: none!important;
164+
}
165+
166+
.tabs{
167+
height: auto!important;
168+
}
169+
170+
.tabs .tab a.active {
171+
border-top-right-radius: 0.8rem;
172+
border-top-left-radius: 0.8rem;
173+
font-size: 1.1rem !important;
174+
}
175+
176+
.mini-icon{
177+
font-size: 0.8rem!important;
178+
margin-left: 1rem;
179+
line-height: 1!important;
180+
}
142181

182+
.editorCollection{
183+
height: 100%;
184+
}
143185

186+
@media screen and (-webkit-min-device-pixel-ratio:0) {
187+
@supports (not (-ms-accelerator:true))
188+
and (not (-moz-appearance:none)) {
189+
.mini-icon{
190+
font-size: 0.8rem!important;
191+
margin-right: -0.8rem;
192+
margin-left: 1rem;
193+
line-height: 1!important;
194+
}
195+
} }

src/css/theme/material.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,29 @@ code, kbd, pre, samp {
6565
color: white;
6666
}
6767

68+
.errorloc{
69+
border-bottom-color: red;
70+
}
71+
72+
.tabs{
73+
background-color: #202b30 !important;
74+
color: whitesmoke !important;
75+
}
76+
77+
78+
.onglet {
79+
background-color: #202a2d !important;
80+
}
81+
82+
.tabs .tab a {
83+
color: #9f9f9f !important;
84+
}
85+
86+
.tabs .tab a.active {
87+
background-color: #273237 !important;
88+
color: white !important;
89+
}
90+
6891

6992
.sharp .id { color: #f07178 ; font-style: italic }
7093
.sharp .kw0 { color: #c792ea; font-weight: bold ;}

src/css/theme/mdn-like.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,30 @@ code, kbd, pre, samp {
6666
}
6767

6868

69+
.errorloc{
70+
border-bottom-color: red;
71+
}
72+
73+
.tabs{
74+
background-color: #07a !important;
75+
color: whitesmoke !important;
76+
}
77+
78+
79+
.onglet {
80+
background-color: #006994 !important;
81+
}
82+
83+
.tabs .tab a {
84+
color: #b5b5b5 !important;
85+
}
86+
87+
.tabs .tab a.active {
88+
background-color: #0084bf !important;
89+
color: white !important;
90+
}
91+
92+
6993
.sharp .id { color: #59B65C ; font-style: italic }
7094
.sharp .kw0 { color: rgb(64, 75, 190); font-weight: bold ;}
7195
.sharp .kw1 { color: #6262FF; font-weight: bold ;}

src/css/theme/monokai.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,29 @@ code, kbd, pre, samp {
6565
color: white;
6666
}
6767

68+
.errorloc{
69+
border-bottom-color: red;
70+
}
71+
72+
.tabs{
73+
background-color: #21221d !important;
74+
color: whitesmoke !important;
75+
}
76+
77+
78+
.onglet {
79+
background-color: #191a16 !important;
80+
}
81+
82+
.tabs .tab a {
83+
color: #9f9f9f !important;
84+
}
85+
86+
.tabs .tab a.active {
87+
background-color: #272822 !important;
88+
color: white !important;
89+
}
90+
6891

6992
.sharp .id { color: #59B65C ; font-style: italic }
7093
.sharp .kw0 { color: #f92672; font-weight: bold ;}

0 commit comments

Comments
 (0)