ktyl.dev/src/root/styles.css

146 lines
2.3 KiB
CSS
Raw Normal View History

2021-09-13 01:06:53 +02:00
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
@import 'colors.css';
:root {
--title-height: min(20vmin, 90px);
}
body {
font-family: 'Ubuntu', sans-serif;
background-color: var(--background);
}
.title {
2021-09-19 23:54:55 +02:00
position: relative;
margin-top: 40px;
2021-09-13 01:06:53 +02:00
margin-left: 80px;
font-size: 1.4em;
}
2021-09-19 23:54:55 +02:00
.title a {
transition: color 0.3s;
}
.title a:hover {
color: lightpink;
}
2021-09-13 01:06:53 +02:00
h1 {
font-size: var(--font-size);
color: var(--color1);
padding-bottom: 0;
margin-bottom:0;
}
ul {
margin-top: 0;
list-style-type: none;
}
li {
display:inline;
/*padding-left: 1em;*/
transition: transform 0.2s;
}
li:hover {
transform: translate(10px);
}
a.fsText {
position:relative;
text-decoration: none;
background-color: var(--background);
color: var(--foreground-inactive);
padding: 0 6px;
transform: scale(1);
transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.fsText a {
text-decoration: none;
color: var(--foreground);
}
a.fsText:hover {
background-color: var(--background);
2021-09-19 23:54:55 +02:00
color: var(--accent);
2021-09-13 01:06:53 +02:00
transform: scale(1.1, 1);
}
.fsText {
--font-size: 1.6em;
font-size: var(--font-size);
color: var(--foreground);
}
2021-10-11 20:50:32 +02:00
.page {
2021-09-13 01:06:53 +02:00
position: absolute;
width: max(30vmax,500px);
left:50%;
top:var(--title-height);
margin-top: 40px;
padding: 10px 0 50px;
2021-10-11 22:36:34 +02:00
/*background-color: var(--foreground-inactive);*/
2021-09-13 01:06:53 +02:00
transform: translate(-50%, 0);
}
2021-10-11 20:50:32 +02:00
.page p {
2021-09-13 01:06:53 +02:00
margin: 0 40px;
padding-top: 20px;
2021-10-11 22:36:34 +02:00
color: var(--foreground);
opacity: 1.0;
2021-09-13 01:06:53 +02:00
}
2021-10-11 20:50:32 +02:00
.page h1 {
2021-10-11 22:36:34 +02:00
color: var(--foreground-inactive);
2021-09-14 01:30:16 +02:00
padding-left: 60px;
2021-09-13 01:06:53 +02:00
padding-top: 10px;
font-size: 1.3em;
2021-09-14 01:30:16 +02:00
font-weight: bold;
2021-09-13 01:06:53 +02:00
}
.sidebar {
position: absolute;
left: 15px;
width: max(11vmax, 180px);
2021-10-11 22:36:34 +02:00
top: max(var(--title-height), 15%);
2021-09-13 01:06:53 +02:00
bottom:0;
background-color: var(--background);
color: var(--foreground);
}
.sidebarContent {
position: relative;
background-color: var(--background);
}
.sidebar ul {
position: relative;
background-color: var(--background);
padding-left: 30px;
}
.sidebar li {
display: block;
margin: 15px 0 0 0;
2021-09-13 01:06:53 +02:00
}
.sidebar li a {
padding: 0 0;
margin-left: -20px;
}
#include socials.css
2021-10-11 22:36:34 +02:00
#include portfolio.css
2021-09-14 01:30:16 +02:00
#include planets.css
#include footer.css