-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (67 loc) · 1.78 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
/*Import Google Font*/
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Overpass+Mono&display=swap');
/*Select all items and apply some global styles*/
* {
color: #944d4d;
background: #FCEDED;
font-family: 'Libre Baskerville', serif;
font-size: 12px;
text-align: left;
}
/*Set a custom selection highlight color*/
* ::selection{
background:#ebc7c7;
}
/*All body content items set in flex down a column and are centered. Page has some padding. */
body {
display: flex;
flex-direction: column;
align-items: center;
padding: 40px;
}
/*Header with image and H1 is also set to flex down a column. Set to 700px to fit smallest browser size on desktop.*/
header {
width: 400px;
display: flex;
flex-direction: column;
align-items: center;
}
h1, h2{font-size: 17px;}
.introTitle {
font-style: italic;
margin-top: 0px;
margin-bottom: 5px;
font-size: 12px;
}
/*Links are styled to italic type with a white highlight. Any CSS properties that change will have a .3 second animation trasition.*/
a {
text-decoration: none;
font-style: italic;
background-color: white;
padding: 5px;
transition: background-color .3s;
transition-timing-function: ease-in-out;
}
/*Psuedo-class allows link to change color when hovered with mouse.*/
a:hover {background-color: #ebc7c7;}
p{font-family: 'Overpass Mono', monospace;}
hr{
border-color: #944d4d;
border-width: .25px;
opacity: 20%;
}
li{
font-family: 'Overpass Mono', monospace;
margin: 15px;
}
main {
width: 375px;
}
/*Rounds the large image and applies a super subtle shadow.*/
#headimg{
border-radius: 300px;
box-shadow: 0px 0px 200px #fccccc;
margin-bottom: 40px;
height: auto;
width: 200px;
}