-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (87 loc) · 1.45 KB
/
style.css
File metadata and controls
103 lines (87 loc) · 1.45 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
html {
color: #171717;
background-color: #f2f2f2;
}
body {
font-size: 1.1em;
font-family: georgia, serif;
line-height: 1.4em;
max-width: 37.5em;
margin: 2em 2em 2em 20%;
display: flex;
flex-direction: column;
height: 100vh;
}
main {
padding-bottom: 3em;
flex: 1;
}
footer {
height: 1em;
padding-bottom: 1em;
}
#profile-img {
border-radius: 50%;
max-height: 100%;
max-width: 100%;
width: 10em;
margin: 0 auto 2em;
display: inline;
}
@media screen and (max-width: 70em) {
body {
margin: 2em;
}
}
@media screen and (max-width: 550px) {
#profile-img {
display: block;
}
}
h1, h2, h3 {
font-size: 2em;
line-height: 1.2em;
margin-bottom: 1em;
}
a {
text-decoration: none;
color: inherit;
}
p> a {
background-image: linear-gradient(#ff906b, #ff906b);
background-repeat: no-repeat;
background-position: bottom;
background-size: 100% 15%;
transition: background-size 100ms ease-in-out;
}
p> a:hover, a:focus {
background-size: 100% 100%;
transition: background-size 100ms ease-in-out;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
}
li {
padding-right: 1em;
}
li:hover, li:focus-within {
color: #ff906b;
}
mark.orange {
color: #ff906b;
background: none;
}
.heart {
color: #e25555;
}
/* Hide scrollbar */
html { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
/* Custom highlight color */
::selection {
color: #f2f2f2;
background: #171717;
}