personal-website/css/style.css

67 lines
1.1 KiB
CSS
Raw Permalink Normal View History

2024-04-20 09:13:46 -05:00
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');
@import url('style.dark.css');
:root {
--background: #fff;
--color: #000;
}
body {
margin: 0;
2024-08-10 03:32:38 -05:00
display: flex;
align-items: center;
justify-content: center;
2024-04-20 09:13:46 -05:00
color: var(--color);
background-color: var(--background);
font-family: 'Inconsolata', sans-serif;
transition: background 0.3s ease-in-out;
}
#container {
2024-08-10 03:32:38 -05:00
max-width: 50%;
2024-04-20 09:13:46 -05:00
text-align: center;
2024-05-08 13:51:47 -05:00
}
2024-04-20 09:13:46 -05:00
2024-08-10 03:03:59 -05:00
#shadow {
2024-08-12 02:42:05 -05:00
position: fixed;
2024-08-10 03:03:59 -05:00
top: 50%;
left: 50%;
2024-08-12 02:42:05 -05:00
box-shadow: 0 0 100vw 5em rgb(114, 114, 114);
2024-04-20 09:13:46 -05:00
}
2024-08-10 03:03:59 -05:00
.tags {
gap: 5px;
2024-05-08 13:44:13 -05:00
display: flex;
flex-wrap: wrap;
2024-08-10 03:03:59 -05:00
justify-content: center;
2024-05-08 13:44:13 -05:00
}
2024-08-10 03:32:38 -05:00
.tags>* {
2024-08-10 03:03:59 -05:00
border: 2px solid var(--color);
padding: 10px 20px 10px 20px;
2024-05-08 13:51:47 -05:00
}
2024-08-10 03:03:59 -05:00
#switch_theme {
cursor: pointer;
text-decoration: underline;
2024-08-10 03:32:38 -05:00
position: fixed;
margin: 10px;
bottom: 0;
right: 0;
display: block;
height: 50px;
width: 50px;
border-radius: 50%;
border: 1px solid var(--color);
}
#switch_theme > img {
width: 50px;
}
a {
color: var(--color);
2024-04-20 09:13:46 -05:00
}