251 lines
5.8 KiB
CSS
251 lines
5.8 KiB
CSS
|
/* Table of contents
|
|||
|
––––––––––––––––––––––––––––––––––––––––––––––––––
|
|||
|
|
|||
|
- Grid
|
|||
|
- Base Styles
|
|||
|
- Typography
|
|||
|
- Links
|
|||
|
- Code
|
|||
|
- Spacing
|
|||
|
- Utilities
|
|||
|
- Misc
|
|||
|
- Credit footer
|
|||
|
|
|||
|
*/
|
|||
|
|
|||
|
@font-face{font-family:'sottitle';src:url(https://raw.githubusercontent.com/JulianPrieber/SoT/main/windlass.ttf)}
|
|||
|
@font-face{font-family:'sottext';src:url(https://raw.githubusercontent.com/JulianPrieber/SoT/main/pragroman.ttf)}
|
|||
|
|
|||
|
/* Grid
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
.container {
|
|||
|
position: relative;
|
|||
|
width: 100%;
|
|||
|
text-align: center;
|
|||
|
margin: 0 auto;
|
|||
|
box-sizing: border-box; }
|
|||
|
.column {
|
|||
|
position: center;
|
|||
|
width: 100%;
|
|||
|
float: center;
|
|||
|
box-sizing: border-box; }
|
|||
|
|
|||
|
|
|||
|
/* For devices larger than 400px */
|
|||
|
@media (min-width: 400px) {
|
|||
|
.container {
|
|||
|
width: 85%;
|
|||
|
padding: 0; }
|
|||
|
}
|
|||
|
|
|||
|
/* For devices larger than 550px */
|
|||
|
@media (min-width: 550px) {
|
|||
|
.container {
|
|||
|
width: 80%; }
|
|||
|
.column,
|
|||
|
.columns {
|
|||
|
margin-left: 0; }
|
|||
|
.column:first-child,
|
|||
|
.columns:first-child {
|
|||
|
margin-left: 0; }
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
/* Base Styles
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
/* NOTE
|
|||
|
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
|||
|
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
|||
|
|
|||
|
html {
|
|||
|
font-size: 100%; }
|
|||
|
|
|||
|
body {
|
|||
|
font-size: 18px;
|
|||
|
line-height: 24px;
|
|||
|
font-weight: 400;
|
|||
|
color: #F1F1F1 !important;
|
|||
|
font-family: "sottext", sans-serif;
|
|||
|
text-transform: uppercase;
|
|||
|
background:
|
|||
|
linear-gradient(
|
|||
|
rgba(0, 0, 0, 0.7),
|
|||
|
rgba(0, 0, 0, 0.7)
|
|||
|
),
|
|||
|
url(https://raw.githubusercontent.com/JulianPrieber/SoT/main/background.jpg);
|
|||
|
background-size: cover;
|
|||
|
color: #222; }
|
|||
|
|
|||
|
|
|||
|
/* Use this for a fixed background color instead of dark and light mode
|
|||
|
body {
|
|||
|
font-size: 18px;
|
|||
|
line-height: 24px;
|
|||
|
font-weight: 400;
|
|||
|
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial,
|
|||
|
sans-serif;
|
|||
|
}
|
|||
|
*/
|
|||
|
|
|||
|
/* Typography
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
h1 {
|
|||
|
margin-top: 0;
|
|||
|
margin-bottom: 16px;
|
|||
|
font-family: "sottitle", sans-serif;
|
|||
|
font-weight: 800; }
|
|||
|
h1 { font-size:24px; line-height: 64px; letter-spacing: 6px;}
|
|||
|
|
|||
|
|
|||
|
/* Larger than phablet */
|
|||
|
@media (min-width: 550px) {
|
|||
|
h1 { font-size: 48px; line-height: 96px;}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
@media (min-width: 1px) {
|
|||
|
p {
|
|||
|
margin-top: 0;
|
|||
|
max-width: 100%;}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
@media (min-width: 800px) {
|
|||
|
p {
|
|||
|
margin-top: 0;
|
|||
|
max-width: 80%;}
|
|||
|
}
|
|||
|
|
|||
|
@media (min-width: 1000px) {
|
|||
|
p {
|
|||
|
margin-top: 0;
|
|||
|
max-width: 60%;}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
/* Links
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
a {
|
|||
|
color: #a3dab0;
|
|||
|
font-size:14px;
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
a:hover {
|
|||
|
color: #a3dab0; }
|
|||
|
|
|||
|
.spacing {
|
|||
|
padding: 0 7px;
|
|||
|
}
|
|||
|
|
|||
|
/* Code
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
code {
|
|||
|
padding: .2rem .5rem;
|
|||
|
margin: 0 .2rem;
|
|||
|
font-size: 90%;
|
|||
|
white-space: nowrap;
|
|||
|
background: #F1F1F1;
|
|||
|
border: 1px solid #E1E1E1;
|
|||
|
border-radius: 4px; }
|
|||
|
pre > code {
|
|||
|
display: block;
|
|||
|
padding: 1rem 1.5rem;
|
|||
|
white-space: pre; }
|
|||
|
|
|||
|
/* Spacing
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
button,
|
|||
|
.button {
|
|||
|
margin-bottom: 1rem; }
|
|||
|
input,
|
|||
|
textarea,
|
|||
|
select,
|
|||
|
fieldset {
|
|||
|
margin-bottom: 1.5rem; }
|
|||
|
pre,
|
|||
|
blockquote,
|
|||
|
dl,
|
|||
|
figure,
|
|||
|
p,
|
|||
|
ol {
|
|||
|
margin-bottom: 2.5rem; }
|
|||
|
|
|||
|
|
|||
|
/* Utilities
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
.u-full-width {
|
|||
|
width: 100%;
|
|||
|
box-sizing: border-box; }
|
|||
|
.u-max-full-width {
|
|||
|
max-width: 100%;
|
|||
|
box-sizing: border-box; }
|
|||
|
.u-pull-right {
|
|||
|
float: right; }
|
|||
|
.u-pull-left {
|
|||
|
float: left; }
|
|||
|
|
|||
|
|
|||
|
/* Misc
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
hr {
|
|||
|
margin-top: 3rem;
|
|||
|
margin-bottom: 3.5rem;
|
|||
|
border-width: 0;
|
|||
|
border-top: 1px solid #E1E1E1; }
|
|||
|
|
|||
|
/* ===== Scrollbar CSS ===== */
|
|||
|
/* Firefox */
|
|||
|
* {
|
|||
|
scrollbar-width: thin;
|
|||
|
scrollbar-color: #171a1d #31363b;
|
|||
|
}
|
|||
|
|
|||
|
/* Chrome, Edge, and Safari */
|
|||
|
*::-webkit-scrollbar {
|
|||
|
width: 8px;
|
|||
|
}
|
|||
|
|
|||
|
*::-webkit-scrollbar-track {
|
|||
|
background: #31363b;
|
|||
|
}
|
|||
|
|
|||
|
*::-webkit-scrollbar-thumb {
|
|||
|
background-color: #171a1d;
|
|||
|
border-radius: 30px;
|
|||
|
border: 3px none #ffffff;
|
|||
|
}
|
|||
|
|
|||
|
.footer {
|
|||
|
padding-top: 50px;
|
|||
|
}
|
|||
|
|
|||
|
/* Credit footer
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|||
|
/* Styling for credit footer text */
|
|||
|
.credit-txt {
|
|||
|
font-weight: 700;
|
|||
|
font-size: 15px;
|
|||
|
text-decoration: none;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.credit-icon {
|
|||
|
display: none; }
|
|||
|
.credit-footer {
|
|||
|
position: relative;
|
|||
|
text-align: center;
|
|||
|
right: 15px; }
|
|||
|
|
|||
|
|
|||
|
/* Switches text color for credit footer for dark/light mode */
|
|||
|
|
|||
|
.credit-txt-clr{
|
|||
|
color: #FFF !important;
|
|||
|
}
|
|||
|
|
|||
|
|