added new circles pagination style (activatable in site config); added transition to everything; separated pagination in its own partial
This commit is contained in:
parent
b35dae6e1e
commit
c44d12cfcc
6 changed files with 56 additions and 21 deletions
|
|
@ -9,6 +9,10 @@ $accent_color: {{ .Site.Params.accentColor | default "#db5793" }};
|
|||
color: $fg_color;
|
||||
}
|
||||
|
||||
* {
|
||||
transition: all .15s ease-in-out;
|
||||
}
|
||||
|
||||
body, html {
|
||||
font-family: "Symbols Nerd Font", "JetBrains Mono", monospace;
|
||||
margin: 0;
|
||||
|
|
@ -147,6 +151,31 @@ pre code {
|
|||
a {
|
||||
color: $accent_color;
|
||||
}
|
||||
&.nav-circles {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
a, span {
|
||||
margin: 5px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding: auto;
|
||||
border-radius: 100%;
|
||||
background-color: rgba($dim_fg_color, .4);
|
||||
color: $fg_color;
|
||||
}
|
||||
span {
|
||||
background-color: $accent_color;
|
||||
}
|
||||
a:hover {
|
||||
background-color: $accent_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue