Main Page/stylesheet.css: Difference between revisions

From Celeste Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with ".mp-topbanner { display: flex; flex-flow: row wrap; justify-content: space-between; padding: 1em !important; clear: both; } .mp-panel { margin-bottom:...")
 
(not displaying siteNotice on main page, removed commented CSS)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Dynamic display based on device width */
.gallery-mobile, .gallery-sd, .gallery-hd {
display: none;
}
@media only screen and (max-width: 1023px) {
.gallery-mobile {
display: block;
}
.mp-center {
flex-flow: row wrap;
gap: 1em;
}

.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-hd {
display: block;
}
}
.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;
}

.mp-topbanner {
.mp-topbanner {
display: flex;
display: flex;
flex-flow: row wrap;
flex-flow: row wrap;
justify-content: space-between;
justify-content: space-between;
padding: 1em !important;
padding: 1em;
clear: both;
clear: both;
margin-top: 2.2em !important;
}
}


.mp-panel {
.img-res img {
max-width:100%;
margin-bottom: 0.4em;
height:auto;
padding: 0.4em;
background-color: #f8f9fa;
border: 1px solid #ddd;
}
}

.mp-panel h2 {
.hc {
margin: 0.1em;
margin: 0 auto;
padding: 0.2em;
background-color: #eee;
border: 1px solid #ddd;
font-family: Arial, sans-serif !important;
font-size: 1.2em;
font-weight: bold;
color: #222;
}
}
.mp-content {
.fullwidth {
width: 100%;
padding: 0.4em;
clear: both;
overflow: hidden;
}
}
table.fullwidth {
.mp-row {
width: 100%;
display: flex;
table-layout: fixed;
flex-direction: row;
}
}

.mp-row > .mp-panel:nth-child(1) {
.levelselectlarge {
flex: 1 1 55%;
padding: 8px;
margin-right: 0.4em;
text-align:center;
}
}

.mp-row > .mp-panel:nth-child(2) {
.levelselectlarge #celeste {
flex: 1 1 45%;
font-size: 162%;
}
border: none;
@media screen and (max-width: 1024px) {
margin: 0 auto;
.mp-topbanner {
padding:.1em
flex-direction: column;
align-items: center;
}
.mp-row {
flex-direction: column;
}
.mp-row > .mp-panel:nth-child(1) {
margin-right: 0;
}
}
}


.mp-green {
.mp-center {
display: flex;
background-color: #f2fff9;
justify-content: space-between;
border-color: #cef2e0;
}
}
.mp-green h2 {
.mp-center > div {
margin-top: 0;
background-color: #cef2e0;
margin-bottom: 0;
border-color: #a3bfb1;
display: grid;
}
}

.mp-blue {
.mp-center > div > div {
background-color: #f2f8ff;
margin: auto 0;
border-color: #CEE0F2;
}
}

.mp-blue h2 {
.mp-contents {
background-color: #cedff2;
float: left;
border-color: #a3b0bf;
width: 58%;
width: calc(60% - 5px);
padding: 1%;
text-align: center
}
}

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

.mp-purple h2 {
.mp-agitation {
background-color: #e0cef2;
float: right;
border-color: #afa3bf;
width: 35%;
padding: 1%;
text-align: right
}
}

.mp-pink {
.mp-agitation #agitation-picture {
background-color: #FFF5FA;
float: left;
border-color: #F2CEE0;
padding: 1ex
}
}

.mp-pink h2 {
.mp-agitation #agitation-text {
background-color: #f2cee0;
font-size: 1.15em;
border-color: #bfa3b1;
/*font-size: min(1.15em, 2.25vw);*/
text-align: center
}
}


#catlinks, #siteNotice {
.featarticleimg { margin: 1em 0.2em 0.2em 0em !important; }
display: none;
}

.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 h2 {
font-size: 1.3em;
}
.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
}
.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;
}

Latest revision as of 17:20, 5 July 2024

/* Dynamic display based on device width */
.gallery-mobile, .gallery-sd, .gallery-hd {
	display: none;
}
@media only screen and (max-width: 1023px) {
	.gallery-mobile {
		display: block;
	}
	.mp-center {
        flex-flow: row wrap;
        gap: 1em;
    }

    .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-hd {
		display: block;
	}
}
.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;
}

.mp-topbanner {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 1em;
    clear: both;
    margin-top: 2.2em !important;
}

.img-res img {
	max-width:100%;
	height:auto;
}

.hc {
	margin: 0 auto;
}
.fullwidth {
	width: 100%;
}
table.fullwidth {
	width: 100%;
	table-layout: fixed;
}

.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 > div > div {
	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
}

#catlinks, #siteNotice {
	display: none;
}

.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 h2 {
	font-size: 1.3em;
}
.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
}
.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;
}