-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
114 lines (113 loc) · 2.41 KB
/
style.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
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
@import url("https://fonts.googleapis.com/css2?family=Cookie&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");
body {
display: flex;
flex-direction: column;
align-items: center;
@media screen and (max-width: 749px) {
.content {
grid-template-areas:
"description"
"input"
"output"
"console";
grid-template-rows: 200px 1fr 1fr auto;
grid-template-columns: 1fr;
}
}
@media screen and (min-width: 750px) {
.content {
grid-template-areas:
"input description"
"output console";
grid-template-rows: 200px auto;
grid-template-columns: 1fr 2fr;
}
}
margin: 0;
min-width: 600px;
nav {
display: flex;
justify-content: space-between;
align-items: center;
background: #3e3e3e;
width: 100%;
color: white;
h1 {
margin-left: 20px;
}
.links {
display: flex;
justify-content: space-between;
width: 30%;
:last-child {
margin-right: 10%;
}
a {
text-decoration: none;
color: white;
font-family: "Cookie", cursive;
font-size: 30px;
}
}
}
.content {
display: grid;
grid-gap: 20px;
margin: 10px;
height: auto;
width: 80%;
.input {
grid-area: input;
display: flex;
flex-direction: column;
textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
width: 100%;
height: 100px;
resize: none;
}
button {
border: none;
cursor: pointer;
}
}
.output {
grid-area: output;
#canvas {
background: #ddd;
width: 100%;
height: auto;
}
}
.description {
grid-area: description;
text-align: justify;
}
.console {
grid-area: console;
background: #ddd;
padding-left: 20px;
border-radius: 10px;
margin-bottom: 50px;
min-height: 200px;
}
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background: #3e3e3e;
text-align: center;
color: white;
font-family: "Cookie", cursive;
}
}
h1 {
font-family: "Cookie", cursive;
font-size: 30px;
}