-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
155 lines (138 loc) · 2.95 KB
/
style.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
@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: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 0;
min-width: 600px;
}
@media screen and (max-width: 749px) {
body .content {
grid-template-areas: "description" "input" "output" "console";
-ms-grid-rows: 200px 1fr 1fr auto;
grid-template-rows: 200px 1fr 1fr auto;
-ms-grid-columns: 1fr;
grid-template-columns: 1fr;
}
}
@media screen and (min-width: 750px) {
body .content {
grid-template-areas: "input description" "output console";
-ms-grid-rows: 200px auto;
grid-template-rows: 200px auto;
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
}
body nav {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: #3e3e3e;
width: 100%;
color: white;
}
body nav h1 {
margin-left: 20px;
}
body nav .links {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
width: 30%;
}
body nav .links :last-child {
margin-right: 10%;
}
body nav .links a {
text-decoration: none;
color: white;
font-family: "Cookie", cursive;
font-size: 30px;
}
body .content {
display: -ms-grid;
display: grid;
grid-gap: 20px;
margin: 10px;
height: auto;
width: 80%;
}
body .content .input {
grid-area: input;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
body .content .input textarea {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
width: 100%;
height: 100px;
resize: none;
}
body .content .input button {
border: none;
cursor: pointer;
}
body .content .output {
grid-area: output;
}
body .content .output #canvas {
background: #ddd;
width: 100%;
height: auto;
}
body .content .description {
grid-area: description;
text-align: justify;
}
body .content .console {
grid-area: console;
background: #ddd;
padding-left: 20px;
border-radius: 10px;
margin-bottom: 50px;
min-height: 200px;
}
body .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;
}
/*# sourceMappingURL=style.css.map */