simiweb/assets/css/style.css

79 lines
916 B
CSS
Raw Normal View History

2024-01-31 16:20:02 +01:00
body {
margin: 40px auto;
max-width: 650px;
font-size: 18px;
padding: 0 10px;
}
ul {
margin: 0;
}
.pic {
float: right;
width: 200px;
}
.pic-small {
float: right;
2024-02-04 17:06:16 +01:00
width: 100px;
2024-01-31 16:20:02 +01:00
display: none;
}
.lightbox {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
padding: 1em;
backdrop-filter: blur(2px);
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.2s linear;
}
.lightbox:target {
visibility: visible;
opacity: 1;
}
.lightbox span {
display: block;
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
@media (max-width: 650px) {
body {
font-size: 14px;
}
.pic {
display: none;
}
.pic-small {
display: block;
}
}
2024-02-04 17:06:16 +01:00
@media (width > 650px) {
p {
text-indent: 2em;
}
}
2024-01-31 16:20:02 +01:00
.headpar {
margin: 18px 0;
}
2024-02-04 17:06:16 +01:00
.content {
text-align: justify;
}