Ativa o menu
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

ProleWiki:Página principal/styles.css: mudanças entre as edições

Da ProleWiki, a enciclopédia proletária
(FelipeForte alterou o modelo de conteúdo da página ProleWiki:Página principal/styles.css de "texto wiki" para "CSS higienizado")
Etiqueta: Mudança de modelo de conteúdo
m (Banner da página principal em português)
 
(Uma revisão intermediária pelo mesmo usuário não está sendo mostrada)
Linha 1: Linha 1:
/******************************
.mainpage-body {
* Styles for mobile main page
margin:auto;
******************************/
}
 
#mainpage-banner span
{
display: inline-block;
width: 100%;
content: url(https://shared.prolewiki.org/uploads/b/b1/Mainpageheader_pt.png);
border-radius:12px;
}
.mainpage-banner-overlay {
position: absolute;
top: 65px;
width: 100%;
}


@media all and (min-width: 768px) {
.mainpage-header {
.prolewiki-mainpage-column {
    display: flex;
float: left;
margin: 2em 5em;
width: 50%;
align-items:baseline;
}
}
.prolewiki-mainpage-column-first {
 
padding-right: 5px;
.header-intro {
}
    flex: 2;
.prolewiki-mainpage-column-second {
}
padding-left: 5px;
 
}
.header-intro h1 {
.prolewiki-mainpage-sister-projects {
    font-size: 2.5em;
text-align: center;
    border: none;
}
    margin: 0 0 .15em;
}
 
.header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}
}


/**
.header-stats {
* Hide title on main pages, village pumps and project chats
    display: flex;
*
    align-items: center;
* @author
    margin:auto;
* @maintainer
}
*/
.header-stats ul {
        list-style: none;
}


body.action-view .firstHeading {
@media screen and (max-width: 800px) {
display: none;
.mainpage-header {
flex-direction: column;
margin:2em;
}
}
}


body.action-view #contentSub {  
.mainpage-frame {
display: none;
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;
}
}

Edição atual tal como às 22h30min de 30 de abril de 2022

.mainpage-body {
	margin:auto;
}

#mainpage-banner span
{
	display: inline-block;
	width: 100%;
	content: url(https://shared.prolewiki.org/uploads/b/b1/Mainpageheader_pt.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;
		margin:2em;
	}
}

.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;
}