1
0
web-semprace/css/styles_v4.css

76 lines
1.2 KiB
CSS
Raw Normal View History

2022-10-20 10:52:11 +02:00
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
.red {
color: #e63946;
}
body {
2022-10-31 10:42:51 +01:00
background-color: #FFF7E1;
2022-10-20 10:52:11 +02:00
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2022-10-31 15:48:35 +01:00
height: 100vh;
max-height: -webkit-fill-available;
max-width: 100vw;
2022-10-20 10:52:11 +02:00
font-family: 'Source Code Pro', monospace;
2022-10-31 17:10:18 +01:00
overflow: hidden;
2022-10-20 10:52:11 +02:00
}
2022-10-31 15:53:52 +01:00
.content{
2022-10-20 10:52:11 +02:00
display: flex;
2022-10-31 15:48:35 +01:00
justify-content: space-between;
2022-10-20 10:52:11 +02:00
align-items: center;
flex-direction: column;
2022-10-31 15:48:35 +01:00
gap: 3rem;
max-width: 30vw;
2022-10-31 10:42:51 +01:00
}
2022-11-09 16:39:39 +01:00
.link {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
2022-10-31 10:42:51 +01:00
.img_1 {
2022-10-31 15:48:35 +01:00
max-width: 100%;
max-height: 6vh;
2022-10-31 10:42:51 +01:00
}
.img_2 {
2022-10-31 15:48:35 +01:00
max-width: 100%;
max-height: 45vh;
2022-10-20 10:52:11 +02:00
}
2022-10-31 15:48:35 +01:00
2022-10-20 11:02:42 +02:00
/* .udalost:hover {
2022-10-20 10:52:11 +02:00
text-decoration: line-through;
2022-10-20 11:02:42 +02:00
} */
2022-10-20 10:52:11 +02:00
.udalost {
2022-11-09 16:39:39 +01:00
color: #6B2A25;
2022-10-31 10:42:51 +01:00
font-weight: bold;
font-size: 1.5rem;
2022-10-31 15:48:35 +01:00
}
@media only screen and (max-width: 768px) {
.content {
max-width: 100vw;
2022-10-31 17:10:18 +01:00
height: calc(100vh - 10rem);
2022-10-31 15:48:35 +01:00
}
.link {
display: flex;
justify-content: center;
height: 20vh;
}
.udalost {
font-size: 1.5rem;
}
.img_1 {
max-height: 5vh;
}
}