5 148
redigeringar
Niklas (diskussion | bidrag) Ingen redigeringssammanfattning |
Niklas (diskussion | bidrag) Ingen redigeringssammanfattning |
||
(31 mellanliggande sidversioner av samma användare visas inte) | |||
Rad 1: | Rad 1: | ||
/* CSS som skrivs här påverkar alla utseenden */ | /* CSS som skrivs här påverkar alla utseenden */ | ||
@import url('https://fonts.googleapis.com/css2?family=Arimo&family= | @import url('https://fonts.googleapis.com/css2?family=Arimo&family=Tinos&display=swap'); | ||
body{ | body{ | ||
Rad 8: | Rad 8: | ||
.mw-body h1{ | .mw-body h1{ | ||
font-family: ' | font-family: 'Tinos', serif; | ||
font-size: | font-size: 54px; | ||
} | } | ||
Rad 18: | Rad 18: | ||
justify-content: space-between; | justify-content: space-between; | ||
padding: 0; | padding: 0; | ||
margin: -5px | margin: 0 -5px 0 -5px; | ||
} | } | ||
.mainpage_box { | .mainpage_box { | ||
Rad 28: | Rad 28: | ||
box-shadow: 0 2px 2px rgba(0,0,0,0.1); | box-shadow: 0 2px 2px rgba(0,0,0,0.1); | ||
} | } | ||
.mainpage_box h1 { | |||
border-bottom: none; | |||
} | |||
.mainpage_box h3 { | .mainpage_box h3 { | ||
/* Reset padding so is equal across skins */ | /* Reset padding so is equal across skins */ | ||
Rad 43: | Rad 48: | ||
float: left; | float: left; | ||
margin-right: 5px; | margin-right: 5px; | ||
} | |||
.mainpage_box .items { | |||
border-top: 1px solid #CCC; | |||
padding-top: 0.5em; | |||
} | |||
.mainpage_box p:last-child { | |||
margin-bottom: 0; | |||
} | |||
.mainpage_boxcontents_small { | |||
font-size: 95%; | |||
} | |||
/* Style the "other languages" box the same way as other boxes on the main page */ | |||
.mw-pt-languages { | |||
display: block; | |||
background: none; | |||
border: 1px solid #CCC; | |||
box-shadow: 0 2px 2px rgba(0,0,0,0.1); | |||
width: auto; | |||
} | |||
.mw-pt-languages-label { | |||
background: none; | |||
border-right: none; | |||
} | |||
/* | |||
FÖR PERIODISKA SYSTEMET-MALLEN | |||
*/ | |||
.elem{ | |||
cursor: help; | |||
text-align:center; | |||
} | |||
.fromNatural{ | |||
border: 2px solid #8811ff; | |||
} | |||
.fromDecay{ | |||
border: 2px dashed #773300; | |||
} | |||
.fromSynthetic{ | |||
border: 2px dotted #4499ff; | |||
} | |||
.isGas{ | |||
color: red; | |||
} | |||
.isLiquid{ | |||
color: green; | |||
} | |||
.isUnknown{ | |||
color: lightgray; | |||
} | |||
.alkali{ | |||
background-color: #ff6666; | |||
} | |||
.alkaliEarth{ | |||
background-color: #ffdead; | |||
} | |||
.lantanoid{ | |||
background-color: #ffbfff; | |||
} | |||
.actinoid{ | |||
background-color: #ff99cc; | |||
} | |||
.transitionMetal{ | |||
background-color: #ffc0c0; | |||
} | |||
.otherMetal{ | |||
background-color: #cccccc; | |||
} | |||
.halfMetal{ | |||
background-color: #cccc99; | |||
} | |||
.diatomic{ | |||
background-color: #e7ff8f; | |||
} | |||
.polyatomic{ | |||
background-color: #a1ffc3; | |||
} | |||
.nobleGas{ | |||
background-color: #c0ffff; | |||
} | |||
.unknownProperty{ | |||
background-color: #e8e8e8; | |||
} | } | ||
Rad 54: | Rad 158: | ||
margin-right: auto; | margin-right: auto; | ||
} | } | ||
} | |||
.helpCursor{ | |||
cursor: help; | |||
} | } |