Main Page/stylesheet.css: Difference between revisions

From Celeste Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 134: Line 134:
margin-bottom: 0;
margin-bottom: 0;
display: grid;
display: grid;
}
.mp-center .mp-tocenter {
margin: auto 0;
}
}



Revision as of 16:20, 17 July 2023

.mp-content {
    padding: 0.4em;
    clear: both;
    overflow: hidden;
}
.mp-row {
    display: flex;
    flex-direction: row;
}
.mp-row > .mp-panel:nth-child(1) {
    flex: 1 1 55%;
    margin-right: 0.4em;
}
.mp-row > .mp-panel:nth-child(2) {
    flex: 1 1 45%;
}
@media screen and (max-width: 1024px) {
    .mp-topbanner {
        flex-direction: column;
        align-items: center;
    }
    .mp-row {
        flex-direction: column;
    }
    .mp-row > .mp-panel:nth-child(1) {
        margin-right: 0;
    }
}

.mp-green {
    background-color: #f2fff9;
    border-color: #cef2e0;
}
.mp-green h2 {
    background-color: #cef2e0;
     border-color: #a3bfb1;
}
.mp-blue {
    background-color: #f2f8ff;
    border-color: #CEE0F2;
}
.mp-blue h2 {
    background-color: #cedff2;
    border-color: #a3b0bf;
}
.mp-purple {
    background-color: #FAF5FF;
    border-color: #E0CEF2;
}
.mp-purple h2 {
    background-color: #e0cef2;
    border-color: #afa3bf;
}
.mp-pink {
    background-color: #FFF5FA;
    border-color: #F2CEE0;
}
.mp-pink h2 {
    background-color: #f2cee0;
    border-color: #bfa3b1;
}

.featarticleimg { margin: 1em 0.2em 0.2em 0 !important; }

/* Dynamic display based on device width */
.gallery-table-res-hide {
	display: block;
}
.gallery-table-res-show {
	display: none;
}
.gallery-table-res-hd {
	display: none;
}
@media only screen and (min-width: 960px) {
	.gallery-table-res-hide {
		display: none !important;
	}
	.gallery-table-res-show {
		display: block !important;
	}
	.gallery-table-res-hd {
		display: none !important;
	}
}
@media only screen and (min-width: 1920px) {
	.gallery-table-res-hide {
		display: none !important;
	}
	.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;
}

.vectoronly { /* Panel */
	border: 1px solid #CE8BF0;
	color: #000;
	background-color: #EDDEF3;
	background-color: rgba(255, 255, 255, 0.58);
	margin-top: 1em;
	margin-bottom: 1em;
}

.levelselectlarge {
	padding: 8px;
	text-align:center;
}

.levelselectlarge #celeste {
	font-size: 162%;
	border: none;
	margin: 0 auto;
	padding:.1em
}

.mp-center {
	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-contents {
	float: left;
	width: 58%;
	width: calc(60% - 5px);
	padding: 1%;
	text-align: center
}

.mp-contents #contents-header {
	font-family: Verdana;
	font-size: 3em;
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto 0.1em
}

.mp-agitation {
	float: right;
	width: 35%;
	padding: 1%;
	text-align: right
}

.mp-agitation #agitation-picture {
	float: left;
	padding: 1ex
}

.mp-agitation #agitation-text {
	font-size: 1.15em;
	/*font-size: min(1.15em, 2.25vw);*/
	text-align: center
}

.mp-mods {
	background-color: #FEF;
	background-color: rgba(255, 255, 255, 0.65);
	padding: 1px 1% 1%;
	font-size: 0.9em;
	overflow: auto
}
.mp-mods .header {
	text-align: center;
	font-weight: bold;
	font-family: Arial;
	font-size: 2em;
	margin: 0.75em auto
}
.mp-mods .contribute-link {
	text-align: center;
	margin: -0.5em auto
}