site/css/main.css

253 lines
4.4 KiB
CSS
Raw Permalink Normal View History

2025-04-19 02:05:41 +02:00
@font-face {
font-family: 'Luciole';
src: url('../font/Luciole-Regular.woff2') format('woff2'),
url('../font/Luciole-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
html {
font-family: 'Luciole';
2025-04-22 13:41:33 +02:00
color: black;
background-color: white;
2025-04-19 02:05:41 +02:00
}
body {
2025-04-19 17:13:31 +02:00
line-height: 2;
2025-04-19 02:05:41 +02:00
display: flex;
flex-direction: column;
min-height: 100vh;
a {
2025-04-22 13:41:33 +02:00
color: black;
2025-04-22 18:00:13 +02:00
transition-duration: 0.2s;
}
a:hover {
text-decoration:none;
box-shadow: 5px 5px 0px black;
2025-04-19 02:05:41 +02:00
}
2025-04-19 17:13:31 +02:00
.icon-list {
2025-04-19 02:05:41 +02:00
list-style-type: none;
div {
margin-left:20px;
}
2025-04-19 17:13:31 +02:00
li {
display: flex;
margin-top:20px;
margin-bottom:20px;
}
2025-04-19 02:05:41 +02:00
}
div {
margin-top: auto;
margin-bottom:auto;
}
.ico {
height:50px;
width:50px;
2025-04-19 17:13:31 +02:00
transition-duration: 1s;
}
.ico:hover {
transform: rotate(20deg);
}
.tstuff {
border-radius:10px;
border:solid 2px black;
2025-04-19 17:13:31 +02:00
padding:10px;
transition-duration: 0.5s;
2025-04-19 17:13:31 +02:00
h2 {
text-decoration:underline;
}
span {
margin-left:20px;
}
2025-04-19 02:05:41 +02:00
}
article {
2025-04-23 15:59:39 +02:00
margin-top: 20px;
a:hover {
box-shadow: 0px 0px 0px black;
}
}
.tstuff:hover{
box-shadow: 10px 10px 0px black;
}
2025-04-23 15:59:39 +02:00
.collection {
display: flex;
align-items:center;
}
#mainFrame {
margin: auto;
border-radius:30px;
width: 60vw;
box-shadow: 0px 0px 10px black;
z-index: 7;
}
#left, #right {
font-size:10vw;
color: lightgrey;
border: none;
background-color: white;
transition-duration: 1s;
}
#left:hover, #right:hover {
color: black;
text-shadow: 0px 0px 20px black;
}
figcaption {
border: solid 2px black;
background-color: white;
border-radius: 30px;
text-align: center;
}
2025-04-19 02:05:41 +02:00
}
main {
flex: 1;
2025-04-23 15:59:39 +02:00
flex-grow: 1;
2025-04-19 02:05:41 +02:00
width: 80%;
margin:auto;
margin-top:50px;
margin-bottom:50px;
}
2025-04-22 13:41:33 +02:00
hr{
width: 40%;
border: 1px solid black;
}
2025-04-19 02:05:41 +02:00
header{
font-size:20px;
display:flex;
flex-direction: row;
margin-top: 10px;
margin-left: 10px;
img {
height: 100%;
}
a {
text-decoration: none;
2025-04-22 13:41:33 +02:00
color: black;
2025-04-19 02:05:41 +02:00
display: flex;
}
a:hover {
box-shadow: 0px 0px 0px;
}
2025-04-19 02:05:41 +02:00
nav {
display: flex;
flex-direction: row;
width: 50%;
margin:auto;
margin-right:0px;
justify-content: right;
img {
width: 100%;
}
}
.img {
float:left;
width: 20%;
min-width:50px;
max-width:100px;
}
.text {
float:right;
margin-top: auto;
margin-bottom: auto;
margin-right:auto;
margin-left:20px;
width: 80%
}
.cloud, .forge, .stuff{
transition-duration: 0.5s;
padding-left: 10px;
border-radius:30px;
}
2025-04-19 02:05:41 +02:00
.forge-ico-op, .cloud-ico-op, .stuff-ico-op {
display: none;
}
.cloud:hover .cloud-ico-op, .forge:hover .forge-ico-op, .stuff:hover .stuff-ico-op {
display:block;
}
.cloud:hover .cloud-ico, .forge:hover .forge-ico, .stuff:hover .stuff-ico {
display:none;
}
.cloud:hover, .forge:hover, .stuff:hover {
box-shadow: 0px 0px 10px black;
2025-04-19 02:05:41 +02:00
}
.logo {
transition-duration: 0.5s;
2025-04-22 18:00:13 +02:00
border-radius:90px;
2025-04-19 02:05:41 +02:00
max-height:150px;
margin-left:auto;
margin-right:auto;
}
.logo:hover {
2025-04-22 18:00:13 +02:00
box-shadow: 0px 0px 5px black;
2025-04-19 02:05:41 +02:00
}
}
footer {
text-align: center;
a {
2025-04-22 13:41:33 +02:00
color: black;
2025-04-19 02:05:41 +02:00
}
div {
2025-04-22 13:41:33 +02:00
border-top: solid black 2px;
2025-04-19 02:05:41 +02:00
width:40%;
margin-left:auto;
margin-right:auto;
padding-top:20px;
}
}
@media (max-width: 868px) {
header {
flex-direction: column;
nav {
a{
margin-left:auto;
margin-right:auto;
}
flex-direction: column;
width:100%;
}
}
footer {
div {
width:100%;
}
}
2025-04-23 15:59:39 +02:00
body {
#left, #right {
color: black;
}
}
2025-04-19 02:05:41 +02:00
}