1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00
bluelib/bluelib.css

180 lines
2.5 KiB
CSS
Raw Normal View History

2021-01-09 00:22:22 +00:00
:root {
/*
CSS variables go here!
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
*/
/* The main colors of the stylesheet */
--background: #0d193b;
--foreground: #a0ccff;
--accent: #ffffff;
/* Panel background */
2021-01-09 01:35:03 +00:00
--panel: rgba(160, 204, 255, 0.02); /* It's --foreground, but with 2% alpha */
--border: rgba(160, 204, 255, 0.10); /* It's --foreground, but with 10% alpha */
2021-01-09 00:22:22 +00:00
/* Link colors */
--link: #00caca;
--link-hover: #00ffff;
--link-active: #a0ffff;
/* Fonts */
--font-text: sans-serif;
--font-title: serif;
2021-01-09 01:35:03 +00:00
--font-code: monospace;
2021-01-09 00:22:22 +00:00
}
* {
/* Use border boxes instead of the insane content boxes */
box-sizing: border-box;
/* Set the default border color and style on all elements */
border-color: var(--border);
border-style: solid;
2021-01-09 01:35:03 +00:00
border-width: 0;
2021-01-09 00:22:22 +00:00
}
body {
2021-01-09 01:35:03 +00:00
background-color: var(--background);
color: var(--foreground);
2021-01-09 00:22:22 +00:00
font-family: var(--font-text);
}
2021-01-09 01:35:03 +00:00
h1, h2, h3, h4, h5, h6, thead,
.title {
2021-01-09 00:22:22 +00:00
color: var(--accent);
font-family: var(--font-title);
font-weight: normal;
2021-01-09 01:35:03 +00:00
}
2021-01-09 00:22:22 +00:00
2021-01-09 01:35:03 +00:00
h1, h2, h3, h4, h5, h6,
.centered {
2021-01-09 00:22:22 +00:00
text-align: center;
}
2021-01-09 01:35:03 +00:00
h1,
.xxl {
font-size: xx-large;
2021-01-09 00:22:22 +00:00
}
2021-01-09 01:35:03 +00:00
h2,
.xl {
font-size: x-large;
}
h3,
.l {
font-size: large;
}
h4,
.m {
font-size: medium;
}
h5,
.s {
font-size: small;
}
h6,
.xs {
font-size: x-small;
}
.xxs {
font-size: xx-small;
}
2021-01-09 00:22:22 +00:00
2021-01-09 01:35:03 +00:00
a,
.link {
color: var(--link);
2021-01-09 00:22:22 +00:00
text-decoration: none;
}
2021-01-09 01:35:03 +00:00
a:hover,
.link:hover {
2021-01-09 00:22:22 +00:00
color: var(--link-hover);
}
2021-01-09 01:35:03 +00:00
a:active,
.link:active {
2021-01-09 00:22:22 +00:00
color: var(--link-active);
}
2021-01-09 01:35:03 +00:00
pre, code,
.monospace {
2021-01-09 00:22:22 +00:00
font-family: var(--font-code);
}
2021-01-09 01:35:03 +00:00
blockquote, aside,
.panel {
padding: 8px;
border-radius: 4px;
border-width: 2px;
2021-01-09 00:22:22 +00:00
background-color: var(--panel);
2021-01-09 01:35:03 +00:00
}
2021-01-09 00:22:22 +00:00
2021-01-09 01:35:03 +00:00
blockquote,
.blockquote {
padding: 4px 4px 4px 8px;
margin: 8px 0;
border-left-width: 2px;
border-top-width: 0;
border-bottom-width: 0;
border-right-width: 0;
2021-01-09 00:22:22 +00:00
}
2021-01-09 01:35:03 +00:00
hr,
.separator {
2021-01-09 00:22:22 +00:00
border-width: 1px;
margin-top: 24px;
margin-bottom: 24px;
}
2021-01-09 01:35:03 +00:00
table,
.table {
2021-01-09 00:22:22 +00:00
border-spacing: 0;
border-width: 2px;
border-collapse: collapse;
}
2021-01-09 01:35:03 +00:00
thead,
.table-head {
background-color: var(--border);
2021-01-09 00:22:22 +00:00
}
2021-01-09 01:35:03 +00:00
th, td,
.table-cell {
2021-01-09 00:22:22 +00:00
padding: 4px;
border-width: 1px;
}
2021-01-09 01:35:03 +00:00
li,
.list-element {
2021-01-09 00:22:22 +00:00
margin: 10px 0;
}
2021-01-09 01:35:03 +00:00
b,
.bold {
font-weight: bold;
color: var(--accent);
}
i,
.italic {
font-style: italic;
2021-01-09 00:22:22 +00:00
color: var(--accent);
}
2021-01-09 01:35:03 +00:00
abbr[title],
.with-title-text {
2021-01-09 00:22:22 +00:00
cursor: help;
}
2021-01-09 01:35:03 +00:00
aside,
.aside {
2021-01-09 00:22:22 +00:00
font-size: smaller;
2021-01-09 01:35:03 +00:00
}