Main Page/stylesheet.css: Difference between revisions

From Celeste Wiki
m
removed catlinks display
(Refactored (hopefully I don't break anything))
m (removed catlinks display)
(10 intermediate revisions by the same user not shown)
Line 1:
/*
.mp-topbanner {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
padding: 1em !important;
clear: both;
}
 
.mp-content {
padding: 0.4em;
Line 70 ⟶ 63:
 
.featarticleimg { margin: 1em 0.2em 0.2em 0 !important; }
*/
 
/* Dynamic display based on device width */
.gallery-tablemobile, .gallery-ressd, .gallery-hidehd {
display: block;
}
.gallery-table-res-show {
display: none;
}
@media only screen and (max-width: 1023px) {
.gallery-table-res-hd {
.gallery-mobile {
display: none;
display: block;
}
@media only screen and (min-width: 960px) {
.gallery-table-res-hide {
display: none !important;
}
.mp-center {
.gallery-table-res-show {
flex-flow: row wrap;
display: block !important;
gap: 1em;
}
}
.gallery-table-res-hd {
 
display: none !important;
.mp-contents,
.mp-agitation {
flex: 1 1 100%;
}
}
@media only screen and (min-width: 1024px) and (max-width: 1919px) {
.gallery-sd {
display: block;
}
}
@media only screen and (min-width: 1920px) {
.gallery-table-res-hidehd {
display: none !importantblock;
}
.gallery-table-res-show {
display: none !important;
}
.gallery-table-res-hd {
display: block !important;
}
}
 
.mp-topbanner {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
padding: 1em;
clear: both;
margin-bottom: 0.4em;
}
 
Line 109 ⟶ 107:
background-color: #EDDEF3;
background-color: rgba(255, 255, 255, 0.58);
margin-top: 1em;
margin-bottom: 1em;
}
 
.img-res img {
max-width:100%;
height:auto;
}
 
.hc {
margin: 0 auto;
}
.fullwidth {
width: 100%;
}
table.fullwidth {
width: 100%;
table-layout: fixed;
}
 
.levelselectlarge {
margin-top: 15px;
margin-bottom: 10px;
padding: 8px;
text-align:center;
Line 125 ⟶ 139:
}
 
.mp-contentscenter {
display: flex;
justify-content: space-between;
}
.mp-center > div {
margin-top: 0;
margin-bottom: 0;
display: grid;
}
/* .mp-center .mp-tocenter {
margin: auto 0;
} */
.mp-center > div > div {
margin: auto 0;
}
 
.mp-contents {
float: left;
width: 58%;
width: calc(60% - 5px);
margin-top: 10px;
margin-bottom: 10px;
padding: 1%;
text-align: center
Line 145 ⟶ 172:
 
.mp-agitation {
display: grid;
float: right;
width: 35%;
padding: 1%;
margin-top: 10px;
margin-bottom: 10px;
text-align: right
}
Line 168 ⟶ 192:
background-color: #FEF;
background-color: rgba(255, 255, 255, 0.65);
marginpadding: 9px1px auto1% 01%;
padding: 0.5px 1% 1%;
font-size: 0.9em;
overflow: auto
Line 183 ⟶ 206:
text-align: center;
margin: -0.5em auto
}
.mp-mods .mod-desc .mod-file {
float: left;
padding: 4px 10px 4px 0;
}
.mp-mods .mod-desc .mod-text {
white-space: normal;
text-overflow: ellipsis;
overflow: hidden;
}
#catlinks {
display: none;
}
1,907

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.