-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
116 lines (101 loc) · 1.93 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
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
body {
margin-bottom: 25px; /* Margin bottom by footer height */
background: rgb(71,126,64);
background: radial-gradient(circle, rgba(71,126,64,1) 0%, rgba(148,189,233,1) 100%);
color: white;
}
header {
border-radius: 0.7vw;
padding: 10px;
font-size: calc(20px + 3vw);
background-color: #fff;
color: #333;
}
h1 {
font-size: inherit;
font-family: 'Cabin Sketch', cursive;
}
#tweet {
background-color: #1A94E0;
color: white;
}
#author-nav-button {
text-align: left;
font-size: inherit;
}
#author-buttons {
display: none;
}
/*sticky footer*/
.footer {
/*position: absolute;*/
position: fixed;
bottom: 0;
height: 25px; /* Set the fixed height of the footer here */
line-height: 25px; /* Vertically center the text there */
background-color: #f5f5f5;
color: #404141FF;
font-size: 11px;
}
.btn-secondary {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
background-color: #fff;
border: none;
}
.btn-secondary:hover {
background-color: #777;
color: #EDF3F3FF;
border: none;
}
.blockquote-footer {
color: #C5C6CBFF;
}
.side-nav {
width: 220px;
height: 100%;
position: absolute;
-webkit-transition: transform 0.7s ease;
transition: transform 0.7s ease;
z-index: 1;
top: 0;
left: 0;
background-color: #fff;
opacity: 0.95;
overflow-x: hidden;
-webkit-transform: translate(-300px,0);
transform: translate(-300px,0);
}
.side-nav>a {
display: block;
color: #333;
padding: 0.75em;
}
.side-nav a:hover {
font-weight: bold;
text-decoration-line: none;
}
.nav-open {
-webkit-transform: translate(0,0);
transform: translate(0,0);
}
.close-author-nav-menu {
text-align: right;
}
@media screen and (min-width: 600px) {
#author-buttons {
display: block;
}
#author-nav-button {
display: none;
width: 0;
}
header {
padding: 20px;
background-color: transparent;
color: #fff;
}
h1 {
font-size: calc(24px + 3vw);
}
}