add makefile, fix link padding, test capitalization
This commit is contained in:
parent
2ba01c8311
commit
43837f9e2e
8 changed files with 37 additions and 29 deletions
|
@ -23,19 +23,6 @@ p, ul, text {
|
|||
padding: revert;
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: Inter;
|
||||
font-weight: 700;
|
||||
font-size: 1em;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
color: var(--secondary);
|
||||
|
||||
&:hover {
|
||||
color: var(--tertiary) !important;
|
||||
}
|
||||
}
|
||||
|
||||
#TableOfContents > ol {
|
||||
counter-reset: section;
|
||||
margin-left: 0em;
|
||||
|
@ -128,6 +115,16 @@ td, th {
|
|||
article a {
|
||||
font-family: Source Sans Pro;
|
||||
font-weight: 600;
|
||||
|
||||
// internal link
|
||||
&[href^="./"], &[href^="/"] {
|
||||
text-decoration: none;
|
||||
background-color: #afbfc933;
|
||||
padding: 0 0.2em;
|
||||
margin-right: -0.2em;
|
||||
font-weight: 600;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
sup > a {
|
||||
|
@ -135,6 +132,19 @@ sup > a {
|
|||
padding: 0 0.1em 0 0.2em;
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: Inter, sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 1em;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
color: var(--secondary);
|
||||
|
||||
&:hover {
|
||||
color: var(--tertiary) !important;
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: 'Fira Code';
|
||||
padding: 0.75em;
|
||||
|
@ -187,15 +197,6 @@ hr {
|
|||
background-color: var(--dark);
|
||||
}
|
||||
|
||||
// internal link
|
||||
a[href^="./"] {
|
||||
text-decoration: none;
|
||||
background-color: #afbfc933;
|
||||
padding: 0 0.2em;
|
||||
font-weight: 600;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.singlePage {
|
||||
margin: 4em 30vw;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue