Dogcraft Wiki
Dogcraft 10 Year Anniversary Showcase/styles.css
From Dogcraft Wiki
m (Domino moved page Template:10years/styles.css to Dogcraft Wiki:Dogcraft 10 Year Anniversary Showcase/styles.css without leaving a redirect) |
mNo edit summary |
||
| Line 54: | Line 54: | ||
.path-start { | .path-start { | ||
width: 20px; | width: 20px; | ||
border: 8px solid | border: 8px solid gray; | ||
border-radius: 50%; | border-radius: 50%; | ||
margin: 0 auto; | margin: 0 auto; | ||
| Line 68: | Line 68: | ||
position: absolute; | position: absolute; | ||
height: 20px; | height: 20px; | ||
z-index: -1; | |||
} | } | ||
Latest revision as of 23:41, 24 September 2025
.wiki-content-box.page-card {
--background-gradient: linear-gradient(90deg, white 35%, rgba(255, 255, 255, .90) 70%, transparent 100%);
width: 100%;
border-top-width: 0px;
border-left-width: 5px;
padding: 15px 20px;
position:relative;
flex-grow:unset;
}
.wiki-content-box.page-card > .wiki-content-box-header {
text-align: start;
}
.wiki-content-box.page-card .page-card-gradient {
background-image: var(--background-gradient);
position: absolute;
right:0;
top:0;
bottom:0;
left:0;
z-index:-1;
}
.wiki-content-box.page-card .page-card-image img {
position: absolute;
width: 100%;
top: 0;
left: 0;
height: 100%;
z-index: -2;
border-radius: 0 5px 5px 0;
object-fit: fill;
object-position: 12vw;
}
@media only screen and (max-width: 999px) {
.wiki-content-box.page-card .page-card-image img {
object-fit: cover;
object-position: 10vw;
}
}
.wiki-content-box.page-card > p:nth-child(1) {
width: 80%;
}
.wiki-content-box.page-card > p:nth-child(2) {
text-align: center;
font-weight: bold;
margin-bottom: 0;
}
.path-start {
width: 20px;
border: 8px solid gray;
border-radius: 50%;
margin: 0 auto;
aspect-ratio: 1/1;
display: flex;
justify-content: center;
}
.path-start > div {
background: darkgray;
width: 10px;
margin-top: 27px;
position: absolute;
height: 20px;
z-index: -1;
}
.meta-box > div {
border-width: 5px !important;
padding: 15px 20px !important;
color: gray;
}