mirror of
https://github.com/NullHypothesis/censorbib.git
synced 2025-07-23 06:31:22 -04:00
Merge pull request #58 from NullHypothesis/improve-icons
Improve the way icons are displayed.
This commit is contained in:
commit
0800b05a99
1 changed files with 19 additions and 10 deletions
|
@ -82,7 +82,16 @@ const headerTemplate = `
|
|||
}
|
||||
.icon {
|
||||
height: 1em;
|
||||
margin-right: 0.5em;
|
||||
width: 1em;
|
||||
display: inline-block;
|
||||
border-radius: 50%;
|
||||
transition: background-color 0.3s ease;
|
||||
padding: 0.5em;
|
||||
overflow: visible;
|
||||
}
|
||||
.icon:hover {
|
||||
background-color: #ffb772;
|
||||
cursor: pointer;
|
||||
}
|
||||
.icons {
|
||||
float: right;
|
||||
|
@ -158,10 +167,10 @@ const headerTemplate = `
|
|||
color: #efefef;
|
||||
}
|
||||
#book-info > a:link {
|
||||
color: #d94b7b
|
||||
color: #d94b7b;
|
||||
}
|
||||
#book-info > a:visited {
|
||||
color: #d94b7b
|
||||
color: #d94b7b;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue