-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyles.css
59 lines (53 loc) · 1.03 KB
/
styles.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
.banner-image-container {
position: relative;
}
.banner-image-container .banner-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
text-align: center;
}
.banner-text h1 {
font-size: 3rem;
font-weight: bold;
color: white;
text-shadow: 1px 1px grey;
font-family: 'Cousine', monospace;
margin-bottom: 0;
}
.banner-text h2 {
font-size: 1.5rem;
font-style: italic;
color: white;
letter-spacing: 0;
background-color: black
}
@media (min-width: 40.0rem) {
.banner-text h1 {
font-size: 8rem;
text-shadow: 2px 2px grey;
}
.banner-text h2 {
font-size: 4.2rem;
text-shadow: 2px 2px grey;
background-color: transparent;
}
}
.book-cover {
border: 1px solid black;
box-shadow: 5px 5px;
}
/* fix bad milligram bulletpoint lists */
ul {
list-style: circle outside;
padding-left: 1em;
}
li > p {
display: inline;
}
/* darken default base color */
body {
color: #54595e;
}