site/assets/TiB.css

277 lines
4.3 KiB
CSS
Raw Normal View History

2022-06-04 13:51:41 +00:00
@font-face {
font-family: 'Ubuntu';
src: url('https://tebibyte.media/assets/fonts/ubuntu.ttf');
url('https://tebibyte.media/assets/fonts/ubuntu.woff2');
url('https://tebibyte.media/assets/fonts/ubuntu.woff');
}
2022-09-16 06:05:42 +00:00
@font-face {
font-family: 'Ubuntu Mono Ligaturized';
src: url('https://tebibyte.media/assets/fonts/UbuntuMonoLigaturized-Regular.ttf');
}
2022-06-04 13:51:41 +00:00
::selection {
color: #000000;
2022-09-19 06:09:54 +00:00
background: #8f2424;
2022-06-04 13:51:41 +00:00
}
* {
box-sizing: border-box;
color: #f0f0f0;
font-family: 'Ubuntu';
2022-09-19 23:53:53 +00:00
scrollbar-color: #8f2424 transparent;
}
2022-09-19 21:35:59 +00:00
*:focus {
2022-09-19 23:53:53 +00:00
outline: 2px solid hsl(0, 80%, 40%);;
2022-09-19 21:35:59 +00:00
}
a {
2022-09-19 23:53:53 +00:00
color: #8f2424;
text-decoration: none;
}
2022-09-19 22:44:10 +00:00
a:active {
color: hsl(0, 80%, 40%);
}
2022-09-19 22:44:10 +00:00
a:hover {
color: hsl(0, 80%, 40%);
2022-09-19 22:44:10 +00:00
text-decoration: underline;
2022-06-04 13:51:41 +00:00
}
aside {
2022-11-03 23:37:23 +00:00
max-width: fit-content;
padding: 0.5em 0.75em;
}
2022-09-19 21:53:14 +00:00
blockquote {
margin: 0 1.5em;
}
blockquote p {
margin: 0;
2022-09-19 21:53:14 +00:00
}
2022-06-04 13:51:41 +00:00
body {
2022-07-01 10:52:41 +00:00
background-color: black;
2022-09-19 23:00:56 +00:00
margin: 0;
2022-09-22 09:58:20 +00:00
padding: 0 5%;
2022-09-22 21:07:40 +00:00
text-align: justify;
2022-09-22 09:58:20 +00:00
}
2022-09-23 03:48:46 +00:00
dd {
2022-09-25 20:42:42 +00:00
margin-bottom: 1em;
2022-09-23 03:48:46 +00:00
text-align: left;
}
2022-11-12 05:24:41 +00:00
div.webring span:not(:last-child)::after {
content: " //";
color: #4a3333;
}
2022-09-23 01:16:46 +00:00
dt {
font-weight: bold;
}
figcaption {
border-top: solid #8f2424 0.1rem;
margin: 1em 1.5em 0;
padding-top: 1em;
2022-09-23 01:16:46 +00:00
text-align: center;
}
figure {
margin: 0 1em;
padding: 1em;
2022-09-23 01:16:46 +00:00
}
2022-09-22 09:58:20 +00:00
footer {
align-items: center;
2022-09-22 09:58:20 +00:00
display: flex;
2022-09-22 19:53:22 +00:00
flex-wrap: wrap;
justify-content: space-between;
2022-09-24 00:06:11 +00:00
margin: 1em auto;
max-width: 70em;
2022-09-22 19:53:22 +00:00
padding: 0.5em 1em;
2022-07-02 10:44:55 +00:00
}
2022-09-23 01:16:46 +00:00
h1, h2, h3, h4, h5, h6 {
2022-09-24 05:56:39 +00:00
margin: 0 0 0.5em 0;
2022-09-23 01:16:46 +00:00
border-bottom: solid #8f2424 0.1rem;
font-weight: bold;
padding-bottom: 0.5em;
}
2022-09-16 06:05:42 +00:00
header {
text-align: center;
2022-09-20 01:45:26 +00:00
padding: 0;
2022-09-16 06:05:42 +00:00
margin: auto;
}
2022-09-19 21:53:14 +00:00
i {
color: inherit;
}
li {
margin: 1em 0;
2022-06-04 13:51:41 +00:00
}
li ul, li ol {
margin: 0.25em 0;
2022-06-04 13:51:41 +00:00
}
2022-09-19 22:44:10 +00:00
main {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
2022-09-22 19:53:22 +00:00
gap: 1em;
2022-09-22 21:07:40 +00:00
text-align: inherit;
2022-09-19 22:44:10 +00:00
}
nav {
display: flex;
flex-direction: row-reverse;
2022-09-22 09:58:20 +00:00
font-weight: bold;
2022-06-04 13:51:41 +00:00
}
2022-09-22 21:17:51 +00:00
menu {
padding: 0.5em;
}
2022-09-22 21:17:51 +00:00
menu li {
display: inline;
}
2022-09-22 21:17:51 +00:00
menu li:not(:last-child)::after {
content: "|";
color: #4a3333;
}
2022-11-12 05:24:41 +00:00
2022-09-22 21:17:51 +00:00
menu li a {
2022-09-16 06:05:42 +00:00
text-decoration: underline;
2022-06-04 13:51:41 +00:00
}
2022-09-19 22:44:10 +00:00
section {
flex-basis: 100%;
2022-09-16 06:05:42 +00:00
}
2022-09-22 23:58:43 +00:00
strong {
font-size: 1.17em;
}
2022-09-19 22:44:10 +00:00
ul {
list-style-type: disc;
2022-09-19 22:26:53 +00:00
}
2022-09-24 00:06:11 +00:00
header, main, nav {
2022-09-22 09:58:20 +00:00
max-width: 70em;
2022-09-19 21:02:01 +00:00
margin: 0 auto;
2022-09-22 09:58:20 +00:00
}
2022-09-23 01:16:46 +00:00
aside, .errorcode, figure, footer, menu {
2022-09-22 09:58:20 +00:00
background: hsl(0, 20%, 7%);
width: auto;
border: solid;
border-color: hsl(0, 80%, 40%);
border-radius: 1em;
2022-08-24 07:10:04 +00:00
}
.column {
2022-09-22 19:53:22 +00:00
flex-basis: 49%;
flex-grow: 1;
2022-06-04 13:51:41 +00:00
}
2022-09-22 09:58:20 +00:00
.copyleft {
padding: 0;
2022-09-19 07:09:46 +00:00
}
2022-09-22 19:53:22 +00:00
.copyleft p, .webring p {
2022-09-22 09:58:20 +00:00
margin: 0;
2022-09-22 19:53:22 +00:00
white-space: nowrap;
}
2022-09-23 01:16:46 +00:00
.errorcode h1 {
border: none;
padding: 1em;
}
2022-09-22 21:07:40 +00:00
.errorcode {
margin: 1em 0;
2022-09-23 01:16:46 +00:00
text-align: center;
2022-09-22 21:07:40 +00:00
}
2022-09-23 01:16:46 +00:00
.errorcode section {
2022-09-22 21:07:40 +00:00
flex-direction: column;
}
2022-09-20 01:45:26 +00:00
.icon {
2022-09-23 01:16:46 +00:00
text-align: left;
2022-09-29 21:18:14 +00:00
white-space: nowrap;
2022-06-04 13:51:41 +00:00
}
2022-09-20 01:45:26 +00:00
.icon img {
max-width: 1em;
}
2022-09-22 19:53:22 +00:00
.webring a {
text-decoration: underline;
}
2022-09-22 09:58:20 +00:00
2022-09-22 19:53:22 +00:00
.webring a:hover {
text-decoration: none;
}
@media (max-width: 30em) {
footer {
flex-wrap: wrap;
justify-content: center;
}
.copyleft, .webring {
flex-basis: 100%;
flex-grow: 1;
text-align: center;
}
2022-09-22 09:58:20 +00:00
}
#home nav .home > a {
2022-06-04 13:51:41 +00:00
pointer-events: none;
cursor: default;
2022-08-24 07:10:04 +00:00
text-decoration: none;
}
2022-09-16 06:07:03 +00:00
#network nav .network > a {
2022-08-24 07:10:04 +00:00
pointer-events: none;
cursor: default;
2022-06-04 13:51:41 +00:00
text-decoration: none;
}
#about nav .about > a {
pointer-events: none;
cursor: default;
text-decoration: none;
}
#logo {
vertical-align: top;
max-width: 192px;
min-width: 128px;
}
2022-06-04 13:51:41 +00:00
/*
2022-08-28 00:36:54 +00:00
* TiB.css is free software: you can redistribute and/or modify it under the
* terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
2022-06-04 13:51:41 +00:00
*
2022-08-28 00:36:54 +00:00
* TiB.css is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
2022-06-04 13:51:41 +00:00
*
2022-08-28 00:36:54 +00:00
* You should have received a copy of the GNU General Public License along with
* TiB.css. If not, see <https://www.gnu.org/licenses/agpl-3.0.en.html>.
*/