bidzan.net/style.css

157 lines
2.2 KiB
CSS
Raw Permalink Normal View History

2024-12-12 12:09:44 +00:00
body {
color: white;
font-family: monospace;
font-size: 20px;
margin-left: 10%;
margin-right: 10%;
text-align: justify;
justify-content: center;
background-image: url("/files/img/background.jpg");
background-repeat: repeat;
}
header {
text-align: center;
}
a {
color: orange;
}
code {
border: 2px solid grey;
border-radius: 5px;
padding: 2px;
overflow: visible;
}
img {
border: 1px white;
}
object {
border: solid 1px orange;
align: center;
align-items: center;
text-align: center;
justify-content: center;
height: 60px;
overflow: hidden;
display: block;
margin-left: auto;
margin-right: auto;
display: flex;
width: 550px;
margin-inline: auto;
}
object.copyright {
border: solid 1px red;
align: center;
height: 100px;
overflow: hidden;
display: block;
margin-left: auto;
margin-right: auto;
display: flex;
width: 700px;
margin-inline: auto;
}
pre {
background: #111222 ;
border: 2px solid orange ;
border-radius: 20px ;
padding: 1em ;
white-space: pre-wrap;
overflow-wrap: break-word ;
max-width: 600px ;
margin: auto ;
}
small {
font-size: 20px;
}
@media only screen and (max-width: 810px) {
body {
font-size: 13px;
margin-left: 4%;
margin-right: 4%;
}
ul {
margin-left: -25px;
}
}
pre.show {
background: #111222 ;
border: 2px grey ;
border-radius: 30px ;
padding: 2em ;
white-space: pre-wrap;
overflow-wrap: break-word ;
max-width: 78% ;
margin: auto ;
}
.gallery-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: left;
max-width: 1916px;
margin-left: 17px;
}
.gallery-box {
box-sizing: content-box;
margin: 10px;
height: 250px;
width: 250px;
overflow: hidden;
display: inline-block;
position: relative;
background-color: #4a404d;
display: flex;
border-radius: 15px;
}
.gallery-box img {
justify-content: center;
position: absolute;
height: 100%;
width: 100%;
object-fit: cover;
margin-left: auto;
margin-right: auto;
border-radius: 15px;
}
.gallery-box:hover {
border: 5px solid orange;
border-radius: 15px;
}
.main-box {
background-color: black;
margin-left: auto;
margin-right: auto;
width: 85%;
border: 3px solid orange;
border-radius: 5px;
}
.main-box-text {
margin: 1%;
padding: 1%;
}