EndeavourOS-Web/wiki/ruzne/style.css

80 lines
1.0 KiB
CSS
Raw Normal View History

2024-04-17 21:15:50 +00:00
/* About sekce */
.about-section {
margin: 45px 0;
2024-04-17 21:15:50 +00:00
}
.about-section-wrapper {
width: 65%;
margin: 0 auto;
display: flex;
gap: 20px;
2024-04-17 21:15:50 +00:00
}
.about-text {
flex: 1;
2024-04-17 21:15:50 +00:00
}
.about-img {
flex: 1;
2024-04-17 21:15:50 +00:00
}
2024-04-17 21:15:50 +00:00
img {
width: 100%;
height: 100%;
object-fit: cover;
2024-04-17 21:15:50 +00:00
}
@media (max-width: 768px) {
.about-section-wrapper {
flex-direction: column;
width: 90%;
margin: 0 auto;
}
.about-text {
text-align: left;
}
.about-img {
text-align: center;
}
.about-text-p {
padding-top: 15px;
}
2024-04-17 21:15:50 +00:00
}
footer {
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
2024-04-17 21:15:50 +00:00
}
/* Go to go */
#scrollToTopBtn {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
/*butoon přes obsah*/
z-index: 99;
outline: none;
cursor: pointer;
padding: 15px;
border-radius: 50%;
background-color: transparent;
2024-04-17 21:15:50 +00:00
}
/* Různé - extra css */
h1 {
color: #734f96;
margin-top: 50px;
font-size: 50px;
}
img {
width: 30%;
2024-04-17 21:15:50 +00:00
}