This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
vault/public/css/index.css

225 lines
3.8 KiB
CSS
Raw Normal View History

2023-06-09 17:40:13 +02:00
:root {
--color-gray-20: #e0e0e0;
--color-gray-50: #C0C0C0;
--color-gray-90: #333;
/* --text-color is assigned to --color-gray-_ above */
--text-color-link: #f87000;
--text-color-link-active: #f89000;
--text-color-link-visited: #f87000;
--background-color: #fff;
--background-menu: #aea8d9;
--text-color: var(--color-gray-90);
--font-family: -apple-system, system-ui, sans-serif;
--font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace;
--font-family-logo: Arial Black, system-ui, sans-serif;
--font-family-title:vipnagorgialla, system-ui, sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
padding: 0;
margin: 0 auto;
min-height:100%;
font-family: var(--font-family);
color: var(--text-color);
width:1280px;
}
html {
overflow-y: scroll;
background: center top fixed url("/img/back.png");
background-color: rgb(90, 78, 177);
}
/* https://www.a11yproject.com/posts/how-to-hide-content/ */
.visually-hidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
a[href] {
color: var(--text-color-link);
}
a[href]:visited {
color: var(--text-color-link-visited);
}
a[href]:hover,
a[href]:active {
color: var(--text-color-link-active);
}
blockquote {
opacity: 75%;
border-left: 3px solid currentColor;
padding-left: 12px;
}
/* Direct Links / Markdown Headers */
.header-anchor {
text-decoration: none;
font-style: normal;
font-size: 1em;
margin-left: .1em;
}
a[href].header-anchor,
a[href].header-anchor:visited {
color: transparent;
}
a[href].header-anchor:focus,
a[href].header-anchor:hover {
text-decoration: underline;
}
a[href].header-anchor:focus,
:hover > a[href].header-anchor {
color: #aaa;
}
.wrapper {
display:flex;
}
main,
.card,
#sidebar ul > li,
#links ul > li {
border:2px outset;
border-color: #d8d5ec;
padding:12px;
margin:12px;
}
#sidebar > ul,
#links > ul {
margin:0;
padding:0;
}
main {
background-color: var(--background-menu);
padding: 2px;
}
#titlebar {
background: rgb(90, 78, 177);
background: linear-gradient(90deg, rgba(90, 78, 177, 1) 0%, rgba(182, 143, 203, 1) 100%);
color:white;
text-shadow: 1px 0px 0px rgba(0,0,0,1);
margin:0px 1px;
padding: 0px 4px;
}
main #page {
background-color: var(--background-color);
padding-left: 24px;
padding-right: 24px;
line-height:1.5rem;
flex-grow:1;
border: 2px inset;
border-color: #d8d5ec;
}
.card,
#sidebar ul>li,
#links ul>li {
color:black;
background-color: var(--background-menu);
}
#sidebar ul > li,
#links ul > li {
list-style: none;
font-weight: bold;
}
#more-info ol > li,
#more-info ul > li {
list-style: none;
}
#sidebar ul > li li,
#links ul>li li,
#more-info li {
padding:0px;
margin:0px;
font-weight: normal;
border:0;
box-shadow: none;
}
ul.nav,
#sidebar ul li ul,
#links ul li ul,
2023-09-02 17:49:08 +02:00
#more-info ol,
aside .card ul {
2023-06-09 17:40:13 +02:00
padding:0;
margin:0;
list-style: none;
}
#sidebar ul li a,
#links ul li a,
2023-09-02 17:49:08 +02:00
#more-info ol li a,
aside .card h2,
aside .card a {
2023-06-09 17:40:13 +02:00
display:block;
width:100%;
text-decoration:none;
color:black!important;
padding:3px;
2023-09-02 17:49:08 +02:00
font-size:1rem;
2023-06-09 17:40:13 +02:00
}
2023-09-02 17:49:08 +02:00
#links ul li > p,
aside .card h2 {
2023-06-09 17:40:13 +02:00
padding: 3px;
margin:0;
}
#sidebar ul li li a,
#links ul li li a {
padding-left:18px;
}
#sidebar ul li a.active,
2023-09-02 17:49:08 +02:00
#more-info ol li a.active,
aside .card ul li a.active {
2023-06-09 17:40:13 +02:00
background-color:rgba(0,0,0,0.1);
}
#sidebar ul li a:hover,
#links ul li a:hover,
2023-09-02 17:49:08 +02:00
#more-info ol li a:hover,
aside .card a:hover {
2023-06-09 17:40:13 +02:00
background-color:rgba(0,0,0,0.2);
}
#more-info,
#sidebar {
min-width:240px;
width:240px;
}
footer {
text-align:right;
margin:12px;
}
#page img {
max-width:100%;
height:auto;
display:block;
margin:auto;
}