1
0
web-semprace/sass/main.scss

158 lines
2.9 KiB
SCSS
Raw Normal View History

2023-11-20 16:52:40 +01:00
main {
2023-11-30 14:02:52 +01:00
display: flex;
gap: 2rem;
margin-top: 2rem;
margin-bottom: 2rem;
margin-left: 20vw;
margin-right: 20vw;
.news-wrapper {
max-width: 80vw;
}
.aside-wrapper {
min-width: 20vw;
}
aside{
2023-11-20 16:52:40 +01:00
display: flex;
2023-11-30 14:02:52 +01:00
flex-direction: column;
align-items: center;
padding: 2rem;
background-color: var(--clr-LavenderLight);
border-radius: 15px;
top: 0;
section#vstupenky-wrapper {
display: flex;
justify-content: center;
width: 100%;
margin-bottom: 2rem;
}
a.vstupenky {
width: 80%;
background-color: var(--clr-Melon);
padding: 1rem 2rem;
color: var(--clr-Murrey);
text-decoration: none;
font-weight: bold;
font-size: 2rem;
text-align: center;
border-color: var(--clr-Murrey);
border-radius: 15px;
border-style: solid;
border-width: 3px;
}
2023-11-30 14:02:52 +01:00
.infotable {
display: flex;
flex-direction: column;
gap: 2rem;
2023-11-20 16:52:40 +01:00
}
2023-11-30 14:02:52 +01:00
.info-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 4rem;
color: var(--clr-Murrey);
text-align: left;
.text {
h3 {
font-weight: 900;
}
2023-11-30 14:02:52 +01:00
p {
font-weight: 500;
2023-11-20 16:52:40 +01:00
}
2023-11-30 14:02:52 +01:00
}
2023-11-30 14:02:52 +01:00
img {
width: 100px;
}
}
2023-11-30 14:02:52 +01:00
.info-wrapper:nth-child(even) {
flex-direction: row-reverse;
text-align: right;
}
2023-11-30 14:02:52 +01:00
}
2023-11-30 14:02:52 +01:00
footer {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin: .5rem;
font-size: 1rem;
font-weight: 300;
a, p {
color: var(--clr-Murrey);
2023-11-20 16:52:40 +01:00
}
2023-11-30 14:02:52 +01:00
}
2023-11-20 16:52:40 +01:00
}
2023-11-24 00:46:26 +01:00
@media only screen and (max-width: 500px) {
2023-11-30 14:02:52 +01:00
#vstupenky-wrapper {
}
.vstupenky {
font-size: 1.5rem !important;
}
2023-11-24 00:46:26 +01:00
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
2023-11-30 14:02:52 +01:00
2023-11-24 00:46:26 +01:00
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
2023-11-30 14:02:52 +01:00
2023-11-24 00:46:26 +01:00
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
2023-11-30 14:02:52 +01:00
main {
flex-direction: column;
align-items: center;
margin-left: 2vw !important;
margin-right: 2vw !important;
2023-11-24 00:46:26 +01:00
}
.aside-wrapper {
2023-11-30 14:02:52 +01:00
order: -1;
2023-11-24 00:46:26 +01:00
}
2023-11-30 14:02:52 +01:00
.info-wrapper {
gap: 1rem !important;
}
2023-11-24 00:46:26 +01:00
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
2023-11-30 14:02:52 +01:00
@media only screen and (max-width: 1500px) {
main {
margin-left: 10vw;
margin-right: 10vw;
}
.aside-wrapper {
min-width: 40vw !important;
}
.news-wrapper {
max-width: 70vw !important;
}
}
2023-11-24 00:46:26 +01:00
2023-11-30 14:02:52 +01:00
@media only screen and (min-width: 1500px) and (max-width: 2000px) {
main {
margin-left: 15vw;
margin-right: 15vw;
}
.aside-wrapper {
min-width: 35vw !important;
}
2023-11-24 00:46:26 +01:00
}