MediaWiki:Common.css: Difference between revisions
Wiki admin (talk | contribs) (Blanked the page) Tags: Blanking Reverted |
Wiki admin (talk | contribs) mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | |||
/*** Stilar för huvudsidan ***/ | |||
/** CSS-classer För Portal:Huvudsida **/ | |||
/* Kolumner */ | |||
.frontPageLeft { | |||
float: left; | |||
width: 66%; | |||
} | |||
.frontPageRight { | |||
float: left; | |||
width: 34%; | |||
} | |||
.frontPageFooter { | |||
float: left; | |||
width: 100%; | |||
} | |||
/* mobilvyn på små skärmar visar istället kolumnerna efter varandra i fullbredd */ | |||
@media screen and ( max-width: 800px ) { | |||
.frontPageLeft, | |||
.frontPageRight { | |||
float: none; | |||
width: 100%; | |||
} | |||
} | |||
/* Block */ | |||
.frontPageBlock { | |||
background: url(https://energysaver.wiki/resources/assets/bluebg.png) no-repeat 3px 3px; | |||
border: 1px solid #c2dfff; | |||
padding: 3px; | |||
margin-bottom: .4em; | |||
position: relative; | |||
} | |||
.frontPageBlockIcon { | |||
position: absolute; | |||
left: 5px; | |||
top: 5px; | |||
} | |||
.frontPageBlockIcon img { | |||
border: 0 none #000; | |||
} | |||
.frontPageBlockTitle { | |||
position: absolute; | |||
left: 50px; | |||
top: 4px; | |||
font-size: 1.2em; | |||
} | |||
.frontPageBlockContent { | |||
margin: 1em; | |||
padding-top: 30px; | |||
overflow: auto; | |||
} | |||
.frontPageRight .frontPageBlock { | |||
background: url(https://energysaver.wiki/resources/assets/bluebg.png) no-repeat top right #f8fcff; | |||
margin-left: 1em; | |||
} | |||
.frontPageRight .frontPageBlockIcon { | |||
left: auto; | |||
right: 10px; | |||
} | |||
.frontPageRight .frontPageBlockTitle { | |||
left: auto; | |||
right: 45px; | |||
top: 3px; | |||
font-size: 1.05em; | |||
} | |||
.frontPageRight .frontPageBlockContent { | |||
margin: 1em; | |||
padding-top: 20px; | |||
} | |||
.frontPageFancyBlock { | |||
border-bottom: 3px dotted #C2DFFF; | |||
padding: 1em 0; | |||
font-size: 95%; | |||
color: #CCCCCC; | |||
margin-left: 1em; | |||
} | |||
.frontPageFancyBlockLast { | |||
border-bottom: none; | |||
} | |||
/* Övrigt */ | |||
/* Systerprojektstabellen */ | |||
#systerprojekt table { | |||
border-collapse: collapse; | |||
width: 100%; | |||
margin: .3em 0 0; | |||
font-size: 95%; | |||
} | |||
#systerprojekt th { | |||
text-align: center; | |||
padding: .7em 0; | |||
width: 25%; | |||
} | |||
#systerprojekt td { | |||
line-height: 1.2em; | |||
vertical-align: middle | |||
} | |||
/** Slut för Portal:Huvudsida **/ | |||
/* [[Kategori:TemplateStyles-mallar]] */ | |||
Latest revision as of 02:27, 14 August 2022
/* CSS placed here will be applied to all skins */
/*** Stilar för huvudsidan ***/
/** CSS-classer För Portal:Huvudsida **/
/* Kolumner */
.frontPageLeft {
float: left;
width: 66%;
}
.frontPageRight {
float: left;
width: 34%;
}
.frontPageFooter {
float: left;
width: 100%;
}
/* mobilvyn på små skärmar visar istället kolumnerna efter varandra i fullbredd */
@media screen and ( max-width: 800px ) {
.frontPageLeft,
.frontPageRight {
float: none;
width: 100%;
}
}
/* Block */
.frontPageBlock {
background: url(https://energysaver.wiki/resources/assets/bluebg.png) no-repeat 3px 3px;
border: 1px solid #c2dfff;
padding: 3px;
margin-bottom: .4em;
position: relative;
}
.frontPageBlockIcon {
position: absolute;
left: 5px;
top: 5px;
}
.frontPageBlockIcon img {
border: 0 none #000;
}
.frontPageBlockTitle {
position: absolute;
left: 50px;
top: 4px;
font-size: 1.2em;
}
.frontPageBlockContent {
margin: 1em;
padding-top: 30px;
overflow: auto;
}
.frontPageRight .frontPageBlock {
background: url(https://energysaver.wiki/resources/assets/bluebg.png) no-repeat top right #f8fcff;
margin-left: 1em;
}
.frontPageRight .frontPageBlockIcon {
left: auto;
right: 10px;
}
.frontPageRight .frontPageBlockTitle {
left: auto;
right: 45px;
top: 3px;
font-size: 1.05em;
}
.frontPageRight .frontPageBlockContent {
margin: 1em;
padding-top: 20px;
}
.frontPageFancyBlock {
border-bottom: 3px dotted #C2DFFF;
padding: 1em 0;
font-size: 95%;
color: #CCCCCC;
margin-left: 1em;
}
.frontPageFancyBlockLast {
border-bottom: none;
}
/* Övrigt */
/* Systerprojektstabellen */
#systerprojekt table {
border-collapse: collapse;
width: 100%;
margin: .3em 0 0;
font-size: 95%;
}
#systerprojekt th {
text-align: center;
padding: .7em 0;
width: 25%;
}
#systerprojekt td {
line-height: 1.2em;
vertical-align: middle
}
/** Slut för Portal:Huvudsida **/
/* [[Kategori:TemplateStyles-mallar]] */