site/sass/style.scss

98 lines
1.3 KiB
SCSS
Raw Normal View History

2021-11-09 21:45:56 -06:00
.container {
/*Text margin*/
margin: auto;
2021-11-10 18:03:18 -06:00
width: 75%;
padding: 10px;
2021-11-09 21:45:56 -06:00
}
2021-11-10 11:38:26 -06:00
body {
font-family: 'Ubuntu', sans-serif;
background-color: #003B6F; // Fallback
2021-11-11 11:46:22 -06:00
background: linear-gradient(180deg, #003B6F, black);
2021-11-10 15:15:33 -06:00
color: white;
background-repeat: no-repeat;
background-attachment: fixed;
filter: drop-shadow(2px 2px 2px black);
2021-11-10 11:38:26 -06:00
}
2021-11-10 15:15:33 -06:00
$linkcolor: #c256ff;
@mixin linkstyle {
color: $linkcolor;
filter: none;
}
a:link {
@include linkstyle;
}
a:visited {
@include linkstyle;
}
a:hover {
@include linkstyle;
color: white;
}
a:active {
@include linkstyle;
}
hr { background-color: white; height: 1px; border: 0; }
2022-01-14 11:15:22 -06:00
pre {
padding: 1em;
border: 0.5em;
overflow-x: auto;
2022-01-14 11:15:22 -06:00
}
2022-08-04 13:41:24 -05:00
code {
font-family: monospace;
2022-10-25 21:38:15 -05:00
background-color: #2e3440;
2022-08-04 13:41:24 -05:00
padding: 0.1em 0.2em;
}
pre code {
padding-left: 0;
2022-10-25 21:38:15 -05:00
background-color: unset;
2022-08-04 13:41:24 -05:00
}
.warning {
background-color: indianred;
padding: 1em;
}
.warning::before {
content: '';
}
2022-10-26 14:19:29 -05:00
.info {
background-color: #1f44b4;
padding: 1em;
}
.info::before {
content: " "
}
// images
figure {
display: table;
margin-left: auto;
margin-right: auto;
}
figure img {
max-width: 100%;
}
figcaption {
text-align: right;
font-size: smaller;
font-style: italic;
color: #777;
}