mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
Unstretch copy-to-clipboard icon, make code font size relative
This commit is contained in:
parent
0d66a97284
commit
52932bee67
1 changed files with 8 additions and 10 deletions
|
@ -624,7 +624,7 @@ section.attachments.neutral > div.label {
|
|||
|
||||
code, kbd, pre, samp {
|
||||
font-family: "Consolas", menlo, monospace;
|
||||
font-size: 14.75px;
|
||||
font-size: 92%;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
code {
|
||||
|
@ -1068,17 +1068,14 @@ td {
|
|||
background-image: url(../images/clippy.svg);
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-size: 14px 16px;
|
||||
border: 1px solid #F8E8C8;
|
||||
border-radius: 2px;
|
||||
border-radius: 0 2px 2px 0;
|
||||
color: #5E5E5E;
|
||||
cursor: pointer;
|
||||
font-size: 14.75px;
|
||||
display: inline-block;
|
||||
padding: 11px 13px;
|
||||
position: relative;
|
||||
top: 1.75px;
|
||||
vertical-align: top;
|
||||
font-family: "Consolas", menlo, monospace;
|
||||
font-size: 92%;
|
||||
padding-left: 22px;
|
||||
}
|
||||
.copy-to-clipboard:hover {
|
||||
background-color: #FCEBB4;
|
||||
|
@ -1087,7 +1084,8 @@ td {
|
|||
pre .copy-to-clipboard {
|
||||
background-color: rgba( 204, 204, 204, .666 );
|
||||
border-color: #000;
|
||||
padding: 10.5px 13.5px;
|
||||
border-radius: 2px;
|
||||
padding: 10.5px 12.5px;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
|
|
Loading…
Reference in a new issue