mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-14 02:27:07 +02:00
212 lines
3.5 KiB
CSS
Executable File
212 lines
3.5 KiB
CSS
Executable File
@import url("dimensions.css");
|
|
@import url("fonts.css");
|
|
@import url("colors.css");
|
|
@import url("navbar.css");
|
|
@import url("sidebar.css");
|
|
@import url("navigation.css");
|
|
@import url("https://cdnjs.cloudflare.com/ajax/libs/octicons/3.1.0/octicons.css");
|
|
@import url("https://use.fontawesome.com/releases/v5.4.2/css/all.css");
|
|
object {
|
|
height: 100%;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--main-font);
|
|
margin: 0;
|
|
}
|
|
|
|
p {
|
|
font-family: var(--paragraph-font);
|
|
}
|
|
|
|
code {
|
|
font-family: var(--code-font);
|
|
font-size: 12px;
|
|
}
|
|
|
|
a {
|
|
color: var(--main-highlight-color);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--secondary-highlight-color);
|
|
}
|
|
|
|
hr {
|
|
width: 0;
|
|
margin: 1rem;
|
|
}
|
|
|
|
pre {
|
|
border-left: 0.3rem solid var(--main-highlight-color);
|
|
border-left-color: var(--main-highlight-color);
|
|
}
|
|
|
|
input[type="text"]:focus {
|
|
border-color: var(--main-highlight-color);
|
|
}
|
|
|
|
.header {
|
|
margin-top: 6rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer {
|
|
flex-shrink: 0;
|
|
margin-left: var(--content-margin-left);
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
|
|
.content {
|
|
margin-left: var(--content-margin-left);
|
|
padding-top: 8vh;
|
|
padding-bottom: 1vh;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.document {
|
|
overflow-y: scroll;
|
|
max-height: calc(calc(97vh - var(--content-padding-top) - var(--content-padding-bottom)) - var(--header-height));
|
|
min-height: calc(calc(97vh - var(--content-padding-top) - var(--content-padding-bottom)) - var(--header-height));
|
|
}
|
|
|
|
.button {
|
|
background-color: var(--main-highlight-color);
|
|
border: 0;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: var(--secondary-highlight-color);
|
|
border: 0;
|
|
}
|
|
|
|
.button .octicon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.logo {
|
|
display: block;
|
|
margin: auto;
|
|
height: 192px;
|
|
width: 192px;
|
|
}
|
|
|
|
.copyright {
|
|
color: var(--main-color);
|
|
}
|
|
|
|
.title {
|
|
text-align: center;
|
|
}
|
|
|
|
.extra-group-center {
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.octicon {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.fab {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.search-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
width: inherit;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.search-form {
|
|
height: 32px;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.search-results {
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* width: 250px; */
|
|
margin-top: 4px;
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
-webkit-border-radius: 8px;
|
|
-moz-border-radius: 8px;
|
|
border-radius: 8px;
|
|
background-color: var(--search-results-color);
|
|
}
|
|
|
|
.search-result-item {
|
|
font-size: 10px;
|
|
margin: 1px;
|
|
padding: 4px;
|
|
}
|
|
|
|
input.search-box {
|
|
height: inherit;
|
|
-webkit-border-radius: 50px;
|
|
-moz-border-radius: 50px;
|
|
border-radius: 50px;
|
|
width: 60%;
|
|
}
|
|
|
|
input.search-box::placeholder {
|
|
text-align: center;
|
|
opacity: 0.2;
|
|
}
|
|
|
|
h1>code,
|
|
h2>code,
|
|
h3>code,
|
|
h4>code,
|
|
h5>code,
|
|
h6>code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
/* Larger than mobile screen */
|
|
|
|
@media (max-width: 40.0rem) {
|
|
.sidebar a {
|
|
text-align: center;
|
|
float: none;
|
|
}
|
|
.footer {
|
|
flex-shrink: 0;
|
|
margin-left: 0px;
|
|
}
|
|
}
|
|
|
|
/* Larger than tablet screen */
|
|
|
|
@media (max-width: 80.0rem) {
|
|
.sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
position: relative;
|
|
}
|
|
.content {
|
|
margin-left: 0;
|
|
}
|
|
.footer {
|
|
flex-shrink: 0;
|
|
margin-left: 0px;
|
|
}
|
|
}
|
|
|
|
/* Larger than desktop screen */
|
|
|
|
@media (min-width: 120.0rem) {}
|