mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-05 12:57:23 +00:00
layout: post
This commit is contained in:
parent
a5680ec927
commit
e45a03abed
4 changed files with 456 additions and 0 deletions
83
src/assets/css/main.css
Normal file
83
src/assets/css/main.css
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
/* Links */
|
||||
|
||||
a {
|
||||
border-bottom: 2px solid hsl(0, 0%, 0%, 0.2);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
background-color: hsl(0, 0%, 0%, 0.1);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
/* Code and quotes*/
|
||||
|
||||
pre, blockquote {
|
||||
border-left: 4px solid hsl(0, 0%, 0%, 0.7);
|
||||
margin-left: 0;
|
||||
padding-left: 1.0rem;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: hsl(0, 0%, 0%, 0.04);
|
||||
overflow-x: auto;
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
background-color: unset;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Fira Code', monospace;
|
||||
background-color: hsl(0, 0%, 0%, 0.04);
|
||||
padding: 0.2rem 0.4rem;
|
||||
}
|
||||
|
||||
/* Lists */
|
||||
|
||||
ul {
|
||||
list-style: square;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
|
||||
header,
|
||||
footer,
|
||||
main {
|
||||
box-sizing: content-box;
|
||||
max-width: 45rem;
|
||||
padding: 15px 30px;
|
||||
padding: 3% 5%;
|
||||
}
|
||||
|
||||
header ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
font-size: 1.5rem;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
header li::after {
|
||||
content: ' / ';
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
header li:last-child::after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
footer {
|
||||
color: hsl(0, 0%, 0%, 0.6);
|
||||
}
|
||||
1
src/assets/css/typography.css
Normal file
1
src/assets/css/typography.css
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue