143 lines
3.2 KiB
SCSS
143 lines
3.2 KiB
SCSS
$background-color: rgb(12, 17, 20);
|
|
$body-color: rgb(252, 252, 252);
|
|
$heading-color: rgb(255, 182, 193);
|
|
$link-color: rgb(252, 169, 184);
|
|
$inl-code-color: rgb(165, 214, 255);
|
|
|
|
@font-face {
|
|
font-family: TeXGyreCursor;
|
|
src: url('../fonts/texgyrecursor-regular.woff') format('woff');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: TeXGyreCursor;
|
|
src: url('../fonts/texgyrecursor-bold.woff') format('woff');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: TeXGyreCursor;
|
|
src: url('../fonts/texgyrecursor-italic.woff') format('woff');
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: TeXGyreCursor;
|
|
src: url('../fonts/texgyrecursor-bolditalic.woff') format('woff');
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Code Pro';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local(''),
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Code Pro';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local(''),
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Code Pro';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: local(''),
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Code Pro';
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
src: local(''),
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/source-code-pro-v22-latin-ext_latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
body {
|
|
background-color: $background-color;
|
|
color: $body-color;
|
|
padding-left: 5vw;
|
|
padding-right: 5vw;
|
|
padding-top: 5vh;
|
|
font-family: 'Source Code Pro';
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
h1 {
|
|
color: $heading-color;
|
|
margin: 0;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0;
|
|
margin-top: 3rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
a {
|
|
color: $link-color;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.article {
|
|
p, li {
|
|
a {
|
|
font-weight: normal;
|
|
text-decoration: underline;
|
|
word-wrap: break-word;
|
|
}
|
|
}
|
|
|
|
picture img, p img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
code, pre {
|
|
font-family: 'Source Code Pro';
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
p code {
|
|
font-size: 1.5rem;
|
|
color: #a5d6ff;
|
|
}
|
|
|
|
.header-link {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
}
|
|
|
|
h2 .header-link {
|
|
display: none;
|
|
|
|
padding-left: 10px;
|
|
font-weight: normal;
|
|
font-size: 1.3rem;
|
|
|
|
img {
|
|
height: 1.25rem;
|
|
margin-bottom: -4px;
|
|
}
|
|
} |