File tree Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const headerTemplate = `
20
20
<link rel="icon" href="assets/favicon-192.png" sizes="192x192">
21
21
<style>
22
22
body {
23
- font-family: Roboto,Helvetica,sans-serif;
23
+ font-family: Roboto, Helvetica, sans-serif;
24
24
background: #ddd;
25
25
margin: 1em auto;
26
26
max-width: 1000px;
@@ -40,20 +40,20 @@ const headerTemplate = `
40
40
padding: 0.5em;
41
41
list-style-type: none; /* Disable bullet points */
42
42
border-radius: 10px;
43
- border:1px solid #c0c0c0;
43
+ border: 1px solid #c0c0c0;
44
44
background: #f5f5f5;
45
45
box-shadow: 2px 2px 5px #bbb;
46
46
}
47
47
a:link {
48
- color:#0b61a4;
49
- text-decoration:none;
48
+ color: #0b61a4;
49
+ text-decoration: none;
50
50
}
51
51
a:visited {
52
- color:#033e6b;
53
- text-decoration:none;
52
+ color: #033e6b;
53
+ text-decoration: none;
54
54
}
55
55
a:hover {
56
- text-decoration:underline;
56
+ text-decoration: underline;
57
57
}
58
58
.icons a:hover {
59
59
text-decoration: none;
@@ -82,7 +82,16 @@ const headerTemplate = `
82
82
}
83
83
.icon {
84
84
height: 1em;
85
- margin-right: 0.5em;
85
+ width: 1em;
86
+ display: inline-block;
87
+ border-radius: 50%;
88
+ transition: background-color 0.3s ease;
89
+ padding: 0.5em;
90
+ overflow: visible;
91
+ }
92
+ .icon:hover {
93
+ background-color: #ffb772;
94
+ cursor: pointer;
86
95
}
87
96
.icons {
88
97
float: right;
@@ -158,10 +167,10 @@ const headerTemplate = `
158
167
color: #efefef;
159
168
}
160
169
#book-info > a:link {
161
- color: #d94b7b
170
+ color: #d94b7b;
162
171
}
163
172
#book-info > a:visited {
164
- color: #d94b7b
173
+ color: #d94b7b;
165
174
}
166
175
</style>
167
176
</head>
You can’t perform that action at this time.
0 commit comments