-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
46 lines (39 loc) · 891 Bytes
/
styles.scss
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
$bgColor: hsl(207, 50%, 90%);
$bgCol2: darken($bgColor, 5%);
$editBg: white;
$previewBg: darken($editBg, 5%);
body {
background: radial-gradient(ellipse at center, $bgColor 0%, $bgCol2 100%);
}
html {
height: 100%; /* Prevents the gradient from repeating if the content does not span the entire viewport */
}
.maincontainer {
align-content: stretch;
display: flex;
justify-content: center;
margin-top: 40px;
}
.editor {
background-color: $editBg;
border-radius: 5px;
display: inline-flex;
margin-right: 50px;
min-height: 500px;
min-width: 300px;
}
.editor textarea {
background-color: $editBg;
border-radius: 5px;
height: 100%;
resize: none;
width: 100%;
}
.preview {
background-color: $previewBg;
border-radius: 5px;
min-height: 100px;
min-width: 300px;
padding: 2px;
display: inline-flex;
}