-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (103 loc) · 1.57 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
:root {
--a: #222831;
--b: #393e46;
--c: #00adb5;
--d: #eeeeee;
--ao: #2228319d;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
color: var(--d);
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
background-color: var(--b);
}
header {
background-color: var(--a);
padding: 0.5rem;
display: flex;
align-items: center;
justify-content: space-between;
}
header img {
height: 2rem;
}
main {
flex: 1 0;
display: flex;
flex-direction: column;
gap: 3rem;
justify-content: center;
align-items: center;
padding: 0.5rem;
}
main section {
padding: 1rem;
background-color: var(--a);
border-radius: 0.3rem;
display: flex;
max-width: 100%;
gap: 2rem;
}
main section svg {
height: 10rem;
width: 10rem;
}
.live-editor {
display: flex;
flex-direction: column;
flex: 1 1 100%;
height: 10rem;
gap: 0.5rem;
align-items: center;
justify-content: center;
}
.fill-blue {
fill: var(--c);
}
.fill-white {
fill: var(--d);
}
select {
border-radius: 0.3rem;
width: 100%;
padding: 0.4rem;
}
select,
select option {
color: var(--a);
}
.code-preview {
display: flex;
justify-content: center;
align-items: center;
}
code {
background-color: var(--b);
border-radius: 0.3rem;
padding: 0.2rem;
}
.colors {
display: flex;
align-items: center;
justify-content: center;
gap: 0.3rem;
}
.color {
width: 2rem;
height: 2rem;
border-radius: 100%;
cursor: pointer;
}
#color-blue {
background-color: var(--c);
}
#color-white {
background-color: var(--d);
}