Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Comrade:Forte/sandbox/styles.css: Difference between revisions

More languages
No edit summary
m (Alternative CSS for mobile screens)
Tags: mobile web edit mobile edit
Line 47: Line 47:
.header-stats ul {
.header-stats ul {
         list-style: none;
         list-style: none;
    }
}
 
@media screen and (max-width: 800px) {
.mainpage-header {
flex-direction: column;
padding:0 2em;
}
.header-stats {
padding:2em 0;
}
}

Revision as of 19:28, 3 February 2022

.mainpage-body {
	max-width: 75em;
	margin:auto;
}

#mainpage-banner span
{
	display: inline-block;
	width: 100%;
	content: url(https://shared.prolewiki.org/uploads/1/11/Mainpageheader2.png);
	border-radius:12px;
	
}
.mainpage-banner-overlay {
	position: absolute;
	top: 65px;
	width: 100%;
}

.mainpage-header {
    display: flex;
    margin: 2.6em 1.75em 1.5em;
}

.header-intro {
    flex: 2;
}

.header-intro h1 {
    font-size: 2.5em;
    border: none;
    margin: 0 0 .15em;
}

.header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.header-stats {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1em;
}
.header-stats ul {
        list-style: none;
}

@media screen and (max-width: 800px) {
	.mainpage-header {
		flex-direction: column;
		padding:0 2em;
	}
	.header-stats {
		padding:2em 0;
	}
}