@@ -21,19 +21,33 @@ html, body {
2121 background-color : theme .$background ;
2222}
2323
24- #banner {
25- padding : 1rem 2rem ;
24+ nav {
25+ display : flex ;
26+
27+ align-items : center ;
28+ justify-content : space-between ;
29+
30+ padding : 1rem ;
2631
2732 background-color : hsl (0 , 0% , 20% );
2833}
2934
35+ body {
36+ display : flex ;
37+ flex-direction : column ;
38+ height : 100vh ;
39+ }
40+
3041main {
31- padding : 2rem ;
42+ height : 100% ;
43+
44+ flex-grow : 1 ;
45+
46+ height : calc (100% - 48px );
3247}
3348
3449h1 {
35- margin-bottom : 2rem ;
36- font-size : 2em ;
50+ font-size : 1.5em ;
3751 font-weight : 600 ;
3852}
3953
5771#split-pane {
5872 display : flex ;
5973
60- gap : 1rem ;
74+ // gap: 1rem;
75+
76+ height : 100% ;
6177
6278 & >* :first-child {
6379 width : 60% ;
6884 }
6985}
7086
71- #editor {
72- border : 1px solid theme .$foreground ;
73- height : 70vh ;
74- }
75-
7687#outputs__tabs , code {
7788 font-family : monospace ;
7889}
8899}
89100
90101button {
91- border : 1px solid theme .$foreground ;
92- border-radius : 0px ;
102+ display : inline-block ;
93103
94- padding : 0.25rem 1.5rem ;
104+ border : none ;
105+ border-radius : 3px ;
106+
107+ padding : 0.5rem 2.25rem ;
95108
109+ font-size : 1em ;
96110 font-weight : 700 ;
111+ text-align : center ;
112+ letter-spacing : -0.011em ;
97113
98114 cursor : pointer ;
99- background-color : hsl ( 0 , 0 % , 17.5 % ) ;
115+ background-color : theme . $btn-background ;
100116
101117 & :hover {
102- background-color : hsl (0 , 0% , 20% );
118+ background-color : theme .$btn-background--hover ;
119+ }
120+
121+ & .primary {
122+ background-color : theme .$btn-background--primary ;
123+
124+ & :hover {
125+ background-color : theme .$btn-background--primary--hover ;
126+ }
103127 }
104128}
105129
106130select {
107- border : 1px solid theme .$foreground ;
108- border-radius : 0 ;
131+ display : inline-block ;
132+
133+ border : none ;
134+ outline : none ;
135+ border-radius : 3px ;
136+
137+ padding : 0.5rem 2.25rem ;
138+
139+ font-size : 1em ;
140+ font-weight : 700 ;
141+ text-align : center ;
142+ letter-spacing : -0.011em ;
143+
144+ cursor : pointer ;
145+ background-color : theme .$btn-background ;
146+ }
109147
110- padding : 0.25rem 1.5rem ;
148+ input {
149+ display : inline-block ;
111150
151+ border : none ;
112152 outline : none ;
113- background-color : hsl (0 , 0% , 17.5% );
153+ border-radius : 3px ;
154+
155+ padding : 0.5rem ;
156+
157+ font-size : 1em ;
158+ font-weight : 700 ;
159+ text-align : center ;
160+ letter-spacing : -0.011em ;
161+
162+ background-color : theme .$btn-background ;
114163}
115164
116165#outputs {
117- height : 70 vh ;
166+ height : 100 % ;
118167
119168 display : flex ;
120169 gap : 1rem ;
121170 flex-direction : column ;
122171 align-items : stretch ;
123172
173+ padding : 1rem ;
174+
124175 & __toolbar {
125176 display : flex ;
126177 justify-content : space-between ;
127178 }
128179
129180 & __tabs {
130181 border : 1px solid theme .$foreground ;
131-
182+ border-radius : 3px ;
183+
132184 padding : 1rem ;
133185
134186 flex-grow : 1 ;
@@ -146,3 +198,42 @@ select {
146198 }
147199 }
148200}
201+
202+ #popup {
203+ position : fixed ;
204+
205+ top : 50% ;
206+ left : 50% ;
207+
208+ transform : translate (-50% , -50% );
209+
210+ border : 1px solid theme .$foreground ;
211+ border-radius : 3px ;
212+
213+ display : none ;
214+
215+ gap : 1rem ;
216+ flex-direction : column ;
217+
218+ padding : 2rem ;
219+
220+ z-index : 100 ;
221+ background-color : theme .$popup-background ;
222+
223+ & .shown {
224+ display : flex ;
225+ }
226+
227+ h2 {
228+ font-weight : 2rem ;
229+ font-weight : 700 ;
230+ }
231+
232+ div {
233+ display : flex ;
234+ flex-direction : row ;
235+ justify-content : stretch ;
236+
237+ gap : 1rem ;
238+ }
239+ }
0 commit comments