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
m (Alternative CSS for mobile screens)
Tags: mobile web edit mobile edit
m (Proletarian01 moved page Comrade:Camarada.Forte/sandbox/styles.css to Comrade:Forte/sandbox/styles.css without leaving a redirect: Automatically moved page while renaming the user "Camarada.Forte" to "Forte")
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
.mainpage-body {
.mainpage-body {
max-width: 75em;
margin:auto;
margin:auto;
}
}
Line 20: Line 19:
.mainpage-header {
.mainpage-header {
     display: flex;
     display: flex;
    margin: 2.6em 1.75em 1.5em;
margin: 2em 5em;
align-items:baseline;
}
}


Line 39: Line 39:


.header-stats {
.header-stats {
    flex: 1;
     display: flex;
     display: flex;
    justify-content: center;
     align-items: center;
     align-items: center;
     margin-top: -1em;
     margin:auto;
}
}
.header-stats ul {
.header-stats ul {
Line 52: Line 50:
.mainpage-header {
.mainpage-header {
flex-direction: column;
flex-direction: column;
padding:0 2em;
}
.header-stats {
padding:2em 0;
}
}
}
.mainpage-frame {
box-shadow: 0 0 .3em #999;
border-radius: 1em;
width:100%;
}
.mainpage-frame:after {
display: block;
content: "";
clear: both;
}
.separator {
width:5%;
margin:1em auto;
}
.frame-header {
background-color:#b50014;
border-radius: 1em 1em 0.25em 0.25em;
color: #fff;
padding: .4em .8em .5em;
font-weight: bold;
}
.frame-header:before {
display: inline-block;
/* Add some content in order to get normal line height, then make it transparent */
content: "x";
color: transparent;
width: 40px;
opacity: .7;
/*[[File:Hamsickwhite.svg]]*/
background-image: url(https://shared.prolewiki.org/uploads/3/3d/Hamsickwhite.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: left center;
}
.frame-body {
padding: 1em;
}
}

Latest revision as of 16:48, 3 April 2022

.mainpage-body {
	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: 2em 5em;
	align-items:baseline;
}

.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 {
    display: flex;
    align-items: center;
    margin:auto;
}
.header-stats ul {
        list-style: none;
}

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

.mainpage-frame {
	box-shadow: 0 0 .3em #999;
	border-radius: 1em;
	width:100%;
}
.mainpage-frame:after {
	display: block;
	content: "";
	clear: both;
}
.separator {
	width:5%;
	margin:1em auto;
}
.frame-header {
	background-color:#b50014;
	border-radius: 1em 1em 0.25em 0.25em;
	color: #fff;
	padding: .4em .8em .5em;
	font-weight: bold;
}
.frame-header:before {
	display: inline-block;
	/* Add some content in order to get normal line height, then make it transparent */
	content: "x";
	color: transparent;
	width: 40px;
	opacity: .7;
	/*[[File:Hamsickwhite.svg]]*/
	background-image: url(https://shared.prolewiki.org/uploads/3/3d/Hamsickwhite.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
}
.frame-body {
	padding: 1em;
}