Template:Main Page/styles.css
Jump to navigation
Jump to search
@media (max-width: 1200px) {
.page-wrap {
flex-direction:column;
}
}
.mainbox {
flex:1;
margin:5px;
border:2px solid #CCC;
box-shadow:0 2px 2px rgba(0,0,0,0.1);
padding-bottom: 10px;
text-align:center;
min-width:210px;
border-radius: 10px;
}
.mainbox h3 {
font-family: UmaRodin;
font-weight: normal;
background-color: #dadada;
padding: 5px;
margin: 0;
border-radius: 8px 8px 0 0; /* the cleaner way would be to overflow: hidden on the mainbox, but that crops part of the main image */
}
.scroll {
max-height:300px;
overflow:scroll;
}
div.mainbox > div {
padding: 10px;
}
.wrap {
display:flex;
flex-flow:row wrap;
}
.left {
text-align:left;
}
.contents img {
width: 200px;
height: 200px !important;
object-fit: cover;
}
.mw-editsection {
display: none;
}
.page-wrap {
display: flex;
gap: 1em;
align-items: stretch;
}
.left-side {
flex: 3 3 600px;
}
.right-side {
flex: 1 1 250px;
}
.left-side, .right-side {
display: flex;
flex-direction: column;
gap: 1em;
}
.umabox {
border: 3px solid white;
border-radius: 1rem;
position: relative;
background: white;
}
.umabox:before {
content: " ";
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -7px;
border-radius: 1rem;
background: linear-gradient(180deg, rgb(195, 195, 213) 0%, rgb(89, 84, 109) 100%);
z-index: -1;
}
.img {
position: relative;
display: inline-block;
mask-image: linear-gradient(rgb(0, 0, 0) 90%, transparent);
border-radius: 1em 1em 0 0;
}
.umabox p {
margin: 0;
}
.umabox h4 {
padding: 5px 0 5px 0;
margin: 0;
font-size: 1.5em;
color: #615c7d;
font-family: UmaRodin;
font-weight: normal;
}
.umabox h4:after {
content: "▶";
padding-left: 10px;
font-size: 0.9em;
}
.umabox a {
color: #615c7d;
}