Sebastian Hildebrandt 22f6046197 updated docs
2025-01-12 14:13:54 +01:00

583 lines
12 KiB
SCSS

body {
font-family: "Roboto", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: rgb(14, 24, 46);
font-weight: 300;
min-height: 100%;
}
h1,
h2,
h3,
h4 {
font-family: "Roboto", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
color: rgb(61, 92, 179);
}
.center {
text-align: center;
}
.bold {
font-weight: 500;
}
.banner {
background-color: rgb(242, 244, 246) !important;
padding: 10px 20px;
margin-bottom: 10px;
text-align: center;
font-size: 1.2rem;
}
.warning {
font-weight: 500;
color: rgb(156, 1, 1);
}
.success {
font-weight: 500;
color: rgb(1, 156, 1);
}
.larger {
margin-top: 10px;
font-size: 1.5rem !important;
}
.medium {
font-weight: 500;
}
.blue {
color: rgb(61, 92, 179);
}
.container-fluid {
background-color: rgb(255, 255, 255);
padding-bottom: 30px;
}
.bg-image-full {
background-color: #1a1f30; /* For browsers that do not support gradients */
background-image: linear-gradient(210deg, #2a2d66, #060520); /* Standard syntax (must be last) */
background-image: url("assets/cpu.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
height: 100svh;
@media only screen and (min-height: 1100px) {
max-height: 900px;
}
@media only screen and (min-height: 1900px) {
max-height: 1260px;
}
opacity: 0.95;
display: flex;
justify-content: center;
text-align: center;
width: 100% !important;
flex-direction: column;
.top-container {
text-align: center;
align-self: center;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
flex-grow: 1;
overflow: hidden;
position: relative;
width: 100% !important;
}
.recommendation {
position: absolute;
top: 30px;
right: 0px;
margin-right: -85px;
z-index: 10;
display: inline-block;
width: 280px;
text-align: center;
padding: 0.25em 0;
color: white;
transform: rotate(45deg);
background: rgb(151, 29, 29);
font-size: 0.9rem;
@media only screen and (min-width: 420px) {
font-size: 1rem;
}
@media only screen and (min-width: 767px) {
font-size: 1.1rem;
top: 40px;
margin-right: -95px;
width: 330px;
}
@media only screen and (min-width: 1024px) {
width: 330px;
top: 60px;
right: 0px;
margin-right: -71px;
font-size: 1.2rem;
}
&:hover {
text-decoration: none;
}
}
.title {
color: #fff;
padding-top: 10px;
font-size: 1.8rem;
margin-bottom: 10px;
font-weight: 500;
@media only screen and (min-width: 374px) {
font-size: 2.1rem;
}
@media only screen and (min-width: 420px) {
font-size: 2.4rem;
}
@media only screen and (min-width: 767px) {
font-size: 3.5rem;
}
@media only screen and (min-width: 1024px) {
font-size: 4rem;
}
@media only screen and (min-width: 1200px) {
font-size: 5rem;
}
@media only screen and (min-width: 1900px) {
font-size: 6rem;
}
}
.logo {
width: 100px;
@media only screen and (min-width: 420px) {
width: 120px;
}
@media only screen and (min-width: 767px) {
width: 160px;
}
@media only screen and (min-width: 1024px) {
width: 200px;
}
@media only screen and (min-width: 1900px) {
width: 250px;
}
}
.subtitle {
text-align: center;
color: #bbb;
font-size: 0.78rem;
@media only screen and (min-width: 375px) {
font-size: 0.9rem;
}
@media only screen and (min-width: 420px) {
font-size: 1rem;
}
@media only screen and (min-width: 767px) {
font-size: 1.1rem;
}
@media only screen and (min-width: 1024px) {
font-size: 1.3rem;
}
@media only screen and (min-width: 1200px) {
font-size: 1.4rem;
}
@media only screen and (min-width: 1900px) {
font-size: 1.6rem;
}
}
.text > a {
text-align: center;
color: #fff;
font-size: 0.9rem;
&:hover {
color: #aaa;
text-decoration: none;
}
@media only screen and (min-width: 375px) {
font-size: 0.9rem;
}
@media only screen and (min-width: 420px) {
font-size: 1rem;
}
@media only screen and (min-width: 767px) {
font-size: 1rem;
}
@media only screen and (min-width: 1024px) {
font-size: 1.1rem;
}
@media only screen and (min-width: 1200px) {
font-size: 1.2rem;
}
@media only screen and (min-width: 1900px) {
font-size: 1.5rem;
}
}
.version {
text-align: center;
margin-bottom: 10px;
color: #fff;
font-size: 0.9rem;
@media only screen and (min-width: 420px) {
font-size: 0.9rem;
}
@media only screen and (min-width: 768px) {
font-size: 1rem;
}
@media only screen and (min-width: 1024px) {
font-size: 1.1rem;
}
@media only screen and (min-width: 1200px) {
font-size: 1.2rem;
}
@media only screen and (min-width: 1900px) {
font-size: 1.5rem;
}
}
.down {
text-align: center;
color: #fff;
font-size: 1.3rem;
line-height: 1;
margin-bottom: 15px;
cursor: pointer;
.caret {
font-size: 3rem;
}
}
}
.nav {
background: no-repeat center center scroll;
background-color: #1a1f30; /* For browsers that do not support gradients */
background-image: linear-gradient(210deg, #2a2d66, #060520); /* Standard syntax (must be last) */
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
height: 65px;
position: relative;
.logo {
width: 60px;
margin-top: 12px;
}
.title {
display: none;
color: #fff;
font-size: 1.5rem;
margin-left: 15px;
margin-top: 15px;
font-weight: 500;
@media only screen and (min-width: 767px) {
display: inline-block;
}
@media only screen and (min-width: 1024px) {
font-size: 1.5rem;
}
}
.text {
margin-top: 18px;
a {
color: #fff;
margin-top: 12px;
font-size: 1rem;
@media only screen and (min-width: 1023px) {
margin-top: 10px;
font-size: 1.2rem;
}
&:hover {
color: #aaa;
text-decoration: none;
}
}
}
.github {
display: none;
@media only screen and (min-width: 768px) {
display: inline-block;
}
}
.todocs {
display: inline-block;
@media only screen and (min-width: 768px) {
display: none;
}
}
}
.features {
text-align: center;
color: #333;
.inner {
padding: 10px 0px;
@media only screen and (min-width: 768px) {
padding: 15px 20px;
}
.icons {
display: block;
font-size: 3rem;
line-height: 1.3;
color: #bbb;
@media only screen and (min-width: 420px) {
font-size: 3.5rem;
}
@media only screen and (min-width: 768px) {
font-size: 4rem;
}
@media only screen and (min-width: 1024px) {
font-size: 5rem;
}
}
.icontitle {
font-size: 1.2rem;
}
&:hover {
background: #f4f4f4;
color: rgb(86, 122, 223);
.icons {
color: rgb(86, 122, 223);
}
}
}
}
.sectionheader {
.title {
text-align: center;
padding-top: 20px;
font-size: 2rem;
font-weight: 500;
color: rgb(61, 92, 179);
@media only screen and (min-width: 420px) {
font-size: 2.3rem;
}
@media only screen and (min-width: 768px) {
text-align: left;
padding-top: 25px;
font-size: 2.6rem;
}
@media only screen and (min-width: 1024px) {
padding-top: 40px;
font-size: 3rem;
}
}
.title-small {
text-align: center;
font-size: 1.4rem;
font-weight: 500;
color: rgb(61, 92, 179);
@media only screen and (min-width: 420px) {
font-size: 1.6rem;
}
@media only screen and (min-width: 768px) {
text-align: left;
padding-top: 25px;
font-size: 1.8rem;
}
@media only screen and (min-width: 1024px) {
padding-top: 30px;
font-size: 2rem;
}
}
.subtitle {
text-align: center;
font-size: 0.9rem;
padding-top: 3px;
padding-bottom: 5px;
@media only screen and (min-width: 420px) {
font-size: 1rem;
}
@media only screen and (min-width: 768px) {
text-align: left;
font-size: 1.1rem;
}
@media only screen and (min-width: 1024px) {
font-size: 1.3rem;
}
}
.npmicons {
text-align: center;
}
.text {
text-align: center;
padding-top: 10px;
@media only screen and (min-width: 768px) {
text-align: left;
}
}
hr {
margin-top: 40px;
margin-bottom: 0px;
border: 1px solid #ddd;
}
}
.index {
margin: 0 0 10px 0;
.text,
.subtitle,
.title,
.title-small,
.npmicons {
text-align: center;
}
.larger {
font-size: 1.2rem;
}
a {
text-decoration: none;
&:hover {
text-decoration: none;
color: rgb(86, 122, 223);
}
}
}
.left {
.text,
.subtitle,
.title,
.title-small .npmicons {
text-align: left;
}
}
.table {
text-align: left;
background-color: #fff;
}
ul {
text-align: left;
}
.number-section {
margin-top: 40px;
text-align: center;
.numbers {
font-size: 2rem;
@media only screen and (min-width: 420px) {
font-size: 2.4rem;
}
@media only screen and (min-width: 768px) {
font-size: 2.8rem;
}
}
.title {
color: #999;
font-size: 1rem;
@media only screen and (min-width: 420px) {
font-size: 1.1rem;
}
@media only screen and (min-width: 768px) {
font-size: 1.2rem;
}
}
}
.menu {
display: none;
@media only screen and (min-width: 768px) {
margin-top: 30px;
display: inline-block;
}
.title {
margin: 25px 0 5px 0;
color: #000;
a {
width: 100%;
color: #000;
text-decoration: none;
&:hover {
color: rgb(86, 122, 223);
}
}
.navtitle {
font-size: 1.3rem;
margin-bottom: 5px;
display: inline-block;
color: rgb(61, 92, 179);
}
}
hr {
margin: 5px 0;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
li {
padding: 2px 0 1px 0;
a {
width: 100%;
color: #666;
text-decoration: none;
&:hover {
color: rgb(86, 122, 223);
}
}
&.active > a {
color: rgb(86, 122, 223);
font-weight: 500;
}
}
}
}
.code {
font-family: Menlo, "dejavu sans mono", "lucida console", monospace;
-webkit-font-smoothing: antialiased;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: 400;
display: inline-block;
background-color: #eee;
margin: 0;
padding: 0 5px;
}
pre {
padding: 4px 10px 4px 10px;
font-family: Menlo, "dejavu sans mono", "lucida console", monospace;
-webkit-font-smoothing: antialiased;
font-size: 13px;
font-style: normal;
font-variant: normal;
font-weight: 400;
line-height: 18px;
background-color: #eee;
width: 100%;
text-align: left;
}
.example {
td:first-child {
background-color: #fff !important;
}
td:last-child {
background-color: #f8faff !important;
}
h5 {
padding-top: 5px;
padding-left: 10px;
}
pre {
background-color: unset;
.js {
background-color: #f0f0f4;
}
}
}
.footer {
background-color: #eee;
padding-top: 30px;
padding-bottom: 30px;
position: relative;
.home {
color: rgb(61, 92, 179);
font-size: 1.1rem;
}
a {
color: #000;
&:hover {
text-decoration: none;
}
}
.badge {
color: #fff;
font-size: 0.9rem;
}
}