-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
75 lines (63 loc) · 1.17 KB
/
Copy pathmain.css
File metadata and controls
75 lines (63 loc) · 1.17 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
@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700|Ramabhadra&display=swap);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
}
body {
font-family: 'Droid Sans', sans-serif;
background-color: #1f1e20;
color: #C49A6C;
font-size: 18px;
overflow: hidden;
}
header {
position: relative;
max-width: 500px;
margin: 0 auto;
padding: 0 25px;
top: 50%;
transform: translateY(-50%);
border-right: 4px solid #C49A6C;
}
header h1 {
font-family: 'Ramabhadra', sans-serif;
font-size: clamp(2.7em, 8vw, 4em);
line-height: 0.8em;
padding-bottom: 40px;
}
header h2 {
font-size: clamp(1.4em, 4vw, 2em);
}
#social {
padding-top: 30px;
}
#social a {
color: #888;
text-decoration: none;
text-transform: uppercase;
font-size: clamp(0.75em, 2vw, 1em);
line-height: 2em;
padding-right: 20px;
transition: color 0.15s ease;
}
#social a:hover,
#social a:focus-visible {
color: #C49A6C;
}
#social a:focus-visible {
outline: 1px solid #C49A6C;
outline-offset: 2px;
}
@media screen and (max-width: 449px) {
header {
max-width: 300px;
}
#social a {
padding-right: 5px;
}
}