roxy-docs/in/static/css/style.css

183 lines
2.8 KiB
CSS
Raw Permalink Normal View History

2024-02-20 11:42:49 +00:00
@import "/static/fonts/roboto_regular/stylesheet.css";
@import "/static/fonts/spacemono_bold/stylesheet.css";
@import "/static/css/nav.css";
/* Variables */
:root {
--black: #000000;
--soft-black: #181a1b;
--softer-black: #282828;
--softest-black: #323232;
--white: #ffffff;
--soft-white: #d7d3ce;
--softer-white: #969696;
--indigo: #4b0082;
--background-color: var(--soft-black);
--foreground-color: var(--softest-black);
--primary-color: var(--indigo);
--default-font-size: 1.4rem;
2024-02-21 14:10:31 +00:00
--desktop-font-size: 1.6rem;
2024-02-20 11:42:49 +00:00
--font-color-primary: var(--white);
--font-family-paragraph: "robotoregular", sans-serif;
--font-color-secondary: var(--white);
--font-family-header: sans-serif;
--link-color: var(--soft-white);
2024-02-21 14:10:31 +00:00
--rule-color: var(--softest-black);
2024-02-20 11:42:49 +00:00
}
/* Boilerplate */
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}
:focus:not(:focus-visible) {
outline: none;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
text-rendering: optimizeLegibility;
font-kerning: normal;
line-height: 2rem;
}
html {
font-size: 62.5%;
}
a {
text-decoration-thickness: 8;
}
pre {
padding: 0.5rem;
}
img {
display: block;
max-width: 100%;
}
label,
button,
select,
summary,
[type=radio],
[type=submit],
[type=checkbox] {
cursor: pointer;
}
article ol,
article ul {
list-style-position: inside;
}
/* Styling */
body {
background-color: var(--background-color);
color: var(--font-color-primary);
font-family: var(--font-family-paragraph);
font-size: var(--default-font-size);
-webkit-text-size-adjust: none;
text-size-adjust: none;
display: flex;
flex-direction: column;
}
@media only screen and (min-width: 768px) {
body {
flex-direction: row;
font-size: var(--desktop-font-size);
}
2024-02-21 14:10:31 +00:00
.content {
padding-top: 8rem;
}
2024-02-20 11:42:49 +00:00
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-family-header);
}
main {
overflow: auto;
2024-02-21 14:10:31 +00:00
width: 100%;
}
.header {
width: 100%;
padding: 0.5rem;
}
.header .title {
font-size: 2.4rem;
font-weight: 200;
color: var(--softer-white);
}
.header .layout {
width: 100%;
2024-02-22 06:36:39 +00:00
padding-left: 1rem;
padding-right: 1rem;
2024-02-21 14:10:31 +00:00
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
2024-02-22 06:36:39 +00:00
.header .icons {
margin-top: 0.5rem;
2024-02-21 14:10:31 +00:00
}
hr {
color: var(--rule-color);
}
.content {
padding: 3rem;
2024-02-20 11:42:49 +00:00
padding-bottom: 8rem;
2024-02-21 14:10:31 +00:00
max-width: 75rem;
margin: 0 auto;
2024-02-20 11:42:49 +00:00
}
2024-02-21 14:10:31 +00:00
.content .title {
padding-bottom: 2rem;
}
2024-02-20 11:42:49 +00:00
a { color: var(--link-color); }
a:hover { color: var(--link-color); }
a:visited { color: var(--link-color); }
a:active { color: var(--link-color); }
2024-02-21 14:10:31 +00:00
ul, ol {
line-height: 2.4rem;
}
.icon path {
fill: var(--softer-white) !important;
}
2024-02-20 11:42:49 +00:00
2024-02-22 06:29:51 +00:00
pre {
overflow: auto;
}