2022-08-03 14:28:42 +02:00
|
|
|
.dark {
|
|
|
|
--background: #1a1a1a;
|
|
|
|
--background-nav: #2f2f2f;
|
|
|
|
--text-color: #fff;
|
|
|
|
--code-bg-color: #1a1a1a;
|
|
|
|
}
|
|
|
|
|
|
|
|
.light {
|
|
|
|
--background: white;
|
|
|
|
--background-nav: black;
|
|
|
|
--text-color: #000;
|
|
|
|
--code-bg-color: #f7f7f9;
|
|
|
|
}
|
|
|
|
|
2022-08-01 22:59:32 +02:00
|
|
|
html {
|
2022-08-01 23:28:04 +02:00
|
|
|
/* Scrolls for me */
|
2022-08-01 22:59:32 +02:00
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
2022-08-02 17:58:08 +02:00
|
|
|
h1 {
|
|
|
|
font-size: 2.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2022-08-01 22:59:32 +02:00
|
|
|
details {
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
height: auto;
|
|
|
|
max-height: 3em;
|
|
|
|
transition: all 0.1s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
details[open] {
|
|
|
|
max-height: 99em;
|
|
|
|
transition: all 1s ease;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
summary > h4 {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
details > ul {
|
|
|
|
cursor: auto;
|
|
|
|
user-select: text;
|
|
|
|
-webkit-user-select: text;
|
|
|
|
-khtml-user-select: text;
|
|
|
|
-moz-user-select: text;
|
|
|
|
-ms-user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: monospace, monospace;
|
|
|
|
font-size: 1em;
|
|
|
|
padding: .2rem .4rem;
|
|
|
|
color: #bd4147;
|
2022-08-03 14:28:42 +02:00
|
|
|
background-color: var(--code-bg-color);
|
2022-08-01 22:59:32 +02:00
|
|
|
border-radius: .25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
2022-08-02 20:33:33 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2022-08-03 14:28:42 +02:00
|
|
|
background: var(--background);
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
transition: color 0.5s ease-in-out;
|
|
|
|
transition: background-color 0.3s ease-in-out;
|
2022-08-01 22:59:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
|
|
border-radius: 0.3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
width: clamp(60%, 60rem, 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2022-08-03 14:28:42 +02:00
|
|
|
color: var(--text-color);
|
2022-08-01 22:59:32 +02:00
|
|
|
text-decoration: none;
|
2022-08-01 23:28:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
background: rgb(0, 108, 255);
|
|
|
|
cursor: pointer;
|
|
|
|
border: rgba(0, 0, 0, 0.1) solid 1px;
|
|
|
|
border-radius: .3rem;
|
2022-08-02 17:58:08 +02:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2022-08-02 20:33:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
background: black;
|
|
|
|
color: white;
|
|
|
|
height: fit-content;
|
2022-08-03 14:28:42 +02:00
|
|
|
width: available;
|
2022-08-02 20:33:33 +02:00
|
|
|
|
|
|
|
display: flex;
|
2022-08-03 14:28:42 +02:00
|
|
|
justify-content: space-between;
|
|
|
|
background: var(--background-nav);
|
|
|
|
padding: 0 15px;
|
2022-08-02 20:33:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#back-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
|
|
|
color: white;
|
2022-08-02 21:24:47 +02:00
|
|
|
font-size: clamp(20px, 2.5vh, 100px);
|
2022-08-02 20:33:33 +02:00
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
}
|
2022-08-03 14:28:42 +02:00
|
|
|
|
|
|
|
#theme-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: clamp(20px, 2vh, 100px);
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
}
|