-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (110 loc) · 2.04 KB
/
style.css
File metadata and controls
129 lines (110 loc) · 2.04 KB
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
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&family=Ubuntu+Mono:wght@400;700&display=swap");
:root {
--mine-shaft-color: #222;
--karry-color: #ffe8d9;
--dove-gray-color: #626262;
--white-color: #fff;
--alabaster-color: #f7f7f7;
--silver-chalice-color: #9e9e9e;
--flamingo-color: #f35627;
--atomic-tangerine-color: #ff9466;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--mine-shaft-color);
color: var(--karry-color);
}
main {
max-width: 62.5rem;
width: 100%;
margin: 0 auto;
}
h1,
h2 {
font-weight: 800;
font-size: 4.5rem;
text-align: center;
letter-spacing: -0.025rem;
}
h1 {
font-family: "Open Sans";
margin-top: 1.5625rem;
}
h2 {
font-family: "Ubuntu Mono";
font-weight: 700;
margin-bottom: 4.125rem;
}
pre {
background-color: var(--dove-gray-color);
width: 17.875rem;
height: 3.1875rem;
border-radius: 0.375rem;
padding: 0.75rem;
color: var(--white-color);
display: flex;
align-items: center;
margin-bottom: 1.75rem;
}
code {
font-family: "Ubuntu Mono";
font-weight: 400;
font-size: 0.9375rem;
}
main {
margin: 0 auto;
max-width: 17.875rem;
width: 100%;
}
label {
text-align: left;
width: 6.25rem;
font-family: "Open Sans";
font-size: 0.875rem;
}
input {
width: 6.25rem;
height: 2.1875rem;
border-radius: 0.375rem;
background-color: var(--alabaster-color);
border: 0.0625rem solid var(--silver-chalice-color);
caret-color: var(--flamingo-color);
color: var(--mine-shaft-color);
margin-top: 0.25rem;
padding: 0.75rem;
}
.preview {
width: 17.875rem;
height: 17.875rem;
background-color: var(--atomic-tangerine-color);
margin: 0 auto;
}
.directions {
display: flex;
width: 17.875rem;
margin: 0.75rem 0;
}
.directions div:first-child {
margin-right: 5.375rem;
}
header {
position: relative;
height: 5rem;
}
header a {
position: absolute;
right: 0;
}
@media screen and (max-width: 768px) {
h1,
h2 {
font-size: 3rem;
}
h2 {
margin-bottom: 3.75rem;
}
}