Skillnad mellan versioner av "MediaWiki:Common.css"
Hoppa till navigering
Hoppa till sök
Harri (diskussion | bidrag) |
Harri (diskussion | bidrag) (Sync with finsl common.css) Märken: Mobil webbredigering Mobilredigering |
||
Rad 1: | Rad 1: | ||
/* Allt CSS sem sett er hér mun virka á öllum þemum. */ | /* Allt CSS sem sett er hér mun virka á öllum þemum. */ | ||
− | #ca-talk { display:none!important; } | + | #ca-talk { |
− | #ca-nstab-main { display: none !important; | + | display: none !important; |
− | + | } | |
+ | |||
+ | #ca-nstab-main { | ||
+ | display: none !important; | ||
+ | } | ||
− | #pt-mytalk { display:none!important; } | + | #ca-nstab-category { |
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | #pt-mytalk { | ||
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | body.page-Etusivu h1.firstHeading { | ||
+ | display: none; | ||
+ | } | ||
− | |||
.hiddenStructure { | .hiddenStructure { | ||
display: none; | display: none; | ||
} | } | ||
− | + | #frontTable { | |
− | + | display: table; | |
+ | table-layout: fixed; | ||
+ | } | ||
/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ | /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ | ||
Rad 28: | Rad 43: | ||
background-image: none; | background-image: none; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
+ | body.ns-0.page-ForsÃða #firstHeading { | ||
+ | display: none; | ||
+ | } | ||
− | # | + | body.mediawiki, |
+ | .mediawiki div#mw-head { | ||
+ | width: 70%; | ||
+ | min-width: 970px; | ||
+ | } | ||
− | + | .mediawiki div#mw-head { | |
− | + | left: 0; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
+ | #frontTable div { | ||
+ | position: relative; | ||
+ | padding-bottom: 2em; | ||
+ | margin: 0.1em 0.6em; | ||
+ | border-radius: 1.5em; | ||
+ | background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%); | ||
} | } | ||
− | #frontTable | + | #frontTable p { |
− | + | position: absolute; | |
− | + | bottom: 0; | |
− | + | width: 100%; | |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | #frontTable | + | #frontTable img { |
− | |||
− | |||
− | |||
− | |||
− | |||
opacity: .9; | opacity: .9; | ||
} | } | ||
+ | |||
#frontTable a { | #frontTable a { | ||
color: black; | color: black; | ||
} | } | ||
+ | |||
.thumbnail { | .thumbnail { | ||
− | + | background: url("/images/img_bg.png") no-repeat scroll 0 0 transparent; | |
− | + | height: 220px; | |
− | + | padding: 1px; | |
− | + | width: 226px; | |
− | + | z-index: 1; | |
− | + | float: left; | |
} | } | ||
#limited_pic { | #limited_pic { | ||
− | + | border: 0 none; | |
− | + | height: 180px; | |
− | + | margin-left: 15px; | |
− | + | margin-top: 10px; | |
− | + | overflow: hidden; | |
− | + | position: relative; | |
− | + | width: 200px; | |
− | + | z-index: 2; | |
} | } | ||
img { | img { | ||
− | + | border: 0 solid #333333; | |
} | } | ||
#caption { | #caption { | ||
− | + | background-image: url("/images/blackbar.png"); | |
− | + | color: #FFFFFF; | |
− | + | font-family: Verdana, Arial, sans-serif; | |
− | + | font-size: 80%; | |
− | + | height: 25px; | |
− | + | line-height: 1em; | |
− | + | margin-left: 15px; | |
− | + | margin-top: -30px; | |
− | + | overflow: hidden; | |
− | + | padding-top: 7px; | |
− | + | position: relative; | |
− | + | text-align: center; | |
− | + | width: 200px; | |
− | + | z-index: 3; | |
} | } | ||
− | #caption a:link, #caption a:visited, #caption a:hover { | + | #caption a:link, |
− | + | #caption a:visited, | |
− | + | #caption a:hover { | |
− | + | color: #FFFFFF; | |
+ | font-weight: 700; | ||
+ | text-decoration: none; | ||
} | } | ||
− | #mw-subcategories ul, #mw-pages ul{ | + | #mw-subcategories ul, |
− | + | #mw-pages ul { | |
− | + | line-height: normal; | |
− | + | margin: 0px; | |
− | + | clear: both; | |
+ | width: 100%; | ||
} | } | ||
− | #mw-subcategories | + | #mw-subcategories ul li, |
+ | #mw-pages ul li { | ||
− | + | line-height: 24px; | |
− | + | margin-left: 5px; | |
− | + | list-style: none; | |
− | + | margin: 0 0 3px 15px; | |
− | + | display: inline-block | |
− | |||
} | } | ||
− | #mw-subcategories | + | |
+ | #mw-subcategories ul li.ui-li-divider, | ||
+ | #mw-pages ul li.ui-li-divider { | ||
cursor: default; | cursor: default; | ||
margin: 0 0 3px 0; | margin: 0 0 3px 0; | ||
Rad 137: | Rad 154: | ||
font-size: 1.3em; | font-size: 1.3em; | ||
font-weight: bold; | font-weight: bold; | ||
− | clear:both; | + | clear: both; |
− | width:100%; | + | width: 100%; |
} | } | ||
− | #mw-subcategories, #mw-pages { | + | #mw-subcategories, |
− | clear:both; | + | #mw-pages { |
+ | clear: both; | ||
} | } | ||
− | .leftfloat { | + | .leftfloat { |
− | + | float: left; | |
− | + | clear: right; | |
} | } | ||
− | .clboth{ | + | |
− | + | .clboth { | |
+ | clear: both; | ||
} | } | ||
− | .clearbo | + | .clearbo { |
− | { | + | clear: both; |
− | |||
} | } | ||
#p-slogan { | #p-slogan { | ||
− | + | position: absolute; | |
− | + | left: 10.5em; | |
− | + | top: 0.2em; | |
} | } | ||
− | #slogan { | + | #slogan { |
− | + | font-size: 1em; | |
− | + | font-style: italic; | |
− | + | color: #727272; | |
− | + | font-family: Myriad Pro; | |
} | } | ||
div#mw-panel div.portal div.body ul li { | div#mw-panel div.portal div.body ul li { | ||
− | + | font-size: 0.9em; | |
} | } | ||
div#mw-panel div.portal h5 { | div#mw-panel div.portal h5 { | ||
− | + | font-size: 0.9em; | |
} | } | ||
table.os-suggest-results { | table.os-suggest-results { | ||
− | + | font-size: 16px; | |
} | } | ||
− | .infoboxtakn{ | + | .infoboxtakn { |
− | + | width: 250px; | |
− | + | background-color: white; | |
− | + | float: right; | |
− | + | clear: right; | |
− | + | margin: -1em 0 1em 1em; | |
− | + | border: 1px solid; | |
− | + | border-radius: 12px; | |
− | + | padding: 12px 12px 12px 12px; | |
} | } | ||
− | .boxheader | + | .boxheader { |
− | { | + | text-align: center; |
− | + | font-size: 16px; | |
+ | font-weight: bold; | ||
+ | line-height: 1.5em; | ||
} | } |
Nuvarande version från 16 oktober 2023 kl. 17.37
/* Allt CSS sem sett er hér mun virka á öllum þemum. */ #ca-talk { display: none !important; } #ca-nstab-main { display: none !important; } #ca-nstab-category { display: none !important; } #pt-mytalk { display: none !important; } body.page-Etusivu h1.firstHeading { display: none; } .hiddenStructure { display: none; } #frontTable { display: table; table-layout: fixed; } /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ .tipsy { font-size: 0.8em; } /* FX because of mobile layout */ li.ui-li-divider { font-size: 132%; font-weight: bold; list-style-type: none; list-style-image: none; background-image: none; } body.ns-0.page-ForsÃða #firstHeading { display: none; } body.mediawiki, .mediawiki div#mw-head { width: 70%; min-width: 970px; } .mediawiki div#mw-head { left: 0; } #frontTable div { position: relative; padding-bottom: 2em; margin: 0.1em 0.6em; border-radius: 1.5em; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%); } #frontTable p { position: absolute; bottom: 0; width: 100%; } #frontTable img { opacity: .9; } #frontTable a { color: black; } .thumbnail { background: url("/images/img_bg.png") no-repeat scroll 0 0 transparent; height: 220px; padding: 1px; width: 226px; z-index: 1; float: left; } #limited_pic { border: 0 none; height: 180px; margin-left: 15px; margin-top: 10px; overflow: hidden; position: relative; width: 200px; z-index: 2; } img { border: 0 solid #333333; } #caption { background-image: url("/images/blackbar.png"); color: #FFFFFF; font-family: Verdana, Arial, sans-serif; font-size: 80%; height: 25px; line-height: 1em; margin-left: 15px; margin-top: -30px; overflow: hidden; padding-top: 7px; position: relative; text-align: center; width: 200px; z-index: 3; } #caption a:link, #caption a:visited, #caption a:hover { color: #FFFFFF; font-weight: 700; text-decoration: none; } #mw-subcategories ul, #mw-pages ul { line-height: normal; margin: 0px; clear: both; width: 100%; } #mw-subcategories ul li, #mw-pages ul li { line-height: 24px; margin-left: 5px; list-style: none; margin: 0 0 3px 15px; display: inline-block } #mw-subcategories ul li.ui-li-divider, #mw-pages ul li.ui-li-divider { cursor: default; margin: 0 0 3px 0; border-bottom: 1px solid #AAAAAA; font-size: 1.3em; font-weight: bold; clear: both; width: 100%; } #mw-subcategories, #mw-pages { clear: both; } .leftfloat { float: left; clear: right; } .clboth { clear: both; } .clearbo { clear: both; } #p-slogan { position: absolute; left: 10.5em; top: 0.2em; } #slogan { font-size: 1em; font-style: italic; color: #727272; font-family: Myriad Pro; } div#mw-panel div.portal div.body ul li { font-size: 0.9em; } div#mw-panel div.portal h5 { font-size: 0.9em; } table.os-suggest-results { font-size: 16px; } .infoboxtakn { width: 250px; background-color: white; float: right; clear: right; margin: -1em 0 1em 1em; border: 1px solid; border-radius: 12px; padding: 12px 12px 12px 12px; } .boxheader { text-align: center; font-size: 16px; font-weight: bold; line-height: 1.5em; }