MediaWiki:Common.css: Forskelle mellem versioner
Spring til navigation
Spring til søgning
Admin (diskussion | bidrag) No edit summary |
Bimo (diskussion | bidrag) No edit summary |
||
Linje 1: | Linje 1: | ||
/* test | /** CSS inkluderet her vil være aktivt for alle brugere. */ | ||
.mw-wiki-logo { | |||
background-size: contain; | |||
} | |||
#FrontPageSlideShow, #FrontPageSlideShow div{ | |||
width: 100%!important; | |||
} | |||
#FrontPageSlideShow div{ | |||
position:relative!important; | |||
} | |||
#FrontPageSlideShow-spacer{ | |||
height: 20px!important; | |||
} | |||
#FrontPageSlideShow div{ | |||
overflow: hidden; | |||
width:100%!important; | |||
} | |||
#FrontPageSlideShow img{ | |||
width:100%; | |||
height:auto; | |||
} | |||
#FrontPageSlideShow h1,#FrontPageSlideShow h2 { | |||
font-family: sans-serif; | |||
color:white; | |||
position: absolute; | |||
left: 15px; | |||
width: 100%; | |||
} | |||
#FrontPageSlideShow h1{ | |||
font-size:4.3em; | |||
top: 10px; | |||
font-weight: bold; | |||
} | |||
#FrontPageSlideShow h2{ | |||
font-size: 2.13em; | |||
top: 100px; | |||
font-weight: normal; | |||
} | |||
body{ | |||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |||
} | |||
#description { | |||
color: black; | |||
font-weight: normal; | |||
} | |||
ul { | |||
list-style-type: none !important; | |||
list-style-image: none !important; | |||
} | |||
.page-Forside #ca-viewsource,.page-Forside #ca-nstab-main,.page-Forside #ca-talk{ | |||
display:none; | |||
} | |||
.page-Forside .firstHeading{ | |||
margin-top:0; | |||
} | |||
#news{ | |||
width: 20% !important; | |||
float: right; | |||
margin-left: 10px; | |||
margin-bottom: 10px; | |||
border-radius: 4px; | |||
} | |||
#news .h2{ | |||
color:white; | |||
font-weight:bold; | |||
background-color:#001F6A; | |||
margin-top:0; | |||
padding: 3px; | |||
border-top-left-radius: 4px; | |||
border-top-right-radius: 4px; | |||
text-align:center; | |||
font-size: larger; | |||
} | |||
#news div{ | |||
padding: 10px; | |||
} | |||
h1, h2, h3, h4, h5, h6{ | |||
border-bottom : 0; | |||
} | |||
.subtitle{ | |||
color:#A3871E; | |||
} | |||
#toc{ | |||
display:none; | |||
} | |||
pre, .mw-code{ | |||
border: 0; | |||
background-color: transparent; | |||
padding: 0; | |||
} | |||
.checkboxLabel{ | |||
display: block; | |||
} | |||
.page-Forside #firstHeading{ | |||
display : none; | |||
} | |||
.createbox p { | |||
max-width:620px; | |||
} | |||
.infobox { | |||
border: 1px solid #a7d7f9!important; | |||
background-color: transparent !important; | |||
min-width:350px !important; | |||
padding: 0 !important; | |||
border-collapse: collapse; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
border-radius: 4px; | |||
border-top: 0!important; | |||
} | |||
.infobox th, .infobox td{ | |||
padding-left: 5px; | |||
} | |||
/* top-left border-radius */ | |||
table tr:first-child th:first-child, | |||
table.Info tr:first-child td:first-child { | |||
border-top-left-radius: 6px; | |||
} | |||
/* top-right border-radius */ | |||
table tr:first-child th:last-child, | |||
table.Info tr:first-child td:last-child { | |||
border-top-right-radius: 6px; | |||
} | |||
.infobox tbody tr:first-child th:first-child{ | |||
background-color: #001f6a !important; | |||
color: white; | |||
} | |||
h1, h2, h3, h4{ | |||
color:#001F6A ; | |||
} | |||
div.thumbinner, #news, .infobox{ | |||
border: 1px solid #a7d7f9; | |||
} | |||
a:visited{ | |||
color: #337ab7; | |||
} | |||
a:hover, a:focus, div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited{ | |||
text-decoration: none; | |||
color:#001F6A ; | |||
} | |||
a,div#mw-panel div.portal div.body ul li a:hover, div#mw-panel div.portal div.body ul li a:focus{ | |||
color: #337ab7; | |||
} | |||
div.gallery{ | |||
display: block; | |||
width:100%; | |||
min-height:320px; | |||
} | |||
.gallery .article{ | |||
margin:20px; | |||
height:311px; | |||
width:215px; | |||
float:left; | |||
background-color:#f4f4f4; | |||
} | |||
.gallery .image{ | |||
width:215px; | |||
height:155px; | |||
} | |||
.gallery .caption{ | |||
padding: 10px!important; | |||
} | |||
.gallery .article p{ | |||
margin:0; | |||
} | |||
.gallery .article a{ | |||
display: block; | |||
position: absolute; | |||
height: 311px; | |||
width: 215px; | |||
} | |||
.gallery .article .image{ | |||
background-size: cover; | |||
} | |||
.gallery .article4 .image{ | |||
background-image: url("http://levendekulturarv-test-01.kb.dk/images/6/6a/Diamant-Nat01b.jpg_1703184387.jpg"); | |||
} | |||
.gallery .article5 .image{ | |||
background-image: url("http://levendekulturarv-test-01.kb.dk/images/4/4f/Sommer.jpg"); | |||
} |
Versionen fra 8. sep. 2017, 14:18
/** CSS inkluderet her vil være aktivt for alle brugere. */ .mw-wiki-logo { background-size: contain; } #FrontPageSlideShow, #FrontPageSlideShow div{ width: 100%!important; } #FrontPageSlideShow div{ position:relative!important; } #FrontPageSlideShow-spacer{ height: 20px!important; } #FrontPageSlideShow div{ overflow: hidden; width:100%!important; } #FrontPageSlideShow img{ width:100%; height:auto; } #FrontPageSlideShow h1,#FrontPageSlideShow h2 { font-family: sans-serif; color:white; position: absolute; left: 15px; width: 100%; } #FrontPageSlideShow h1{ font-size:4.3em; top: 10px; font-weight: bold; } #FrontPageSlideShow h2{ font-size: 2.13em; top: 100px; font-weight: normal; } body{ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } #description { color: black; font-weight: normal; } ul { list-style-type: none !important; list-style-image: none !important; } .page-Forside #ca-viewsource,.page-Forside #ca-nstab-main,.page-Forside #ca-talk{ display:none; } .page-Forside .firstHeading{ margin-top:0; } #news{ width: 20% !important; float: right; margin-left: 10px; margin-bottom: 10px; border-radius: 4px; } #news .h2{ color:white; font-weight:bold; background-color:#001F6A; margin-top:0; padding: 3px; border-top-left-radius: 4px; border-top-right-radius: 4px; text-align:center; font-size: larger; } #news div{ padding: 10px; } h1, h2, h3, h4, h5, h6{ border-bottom : 0; } .subtitle{ color:#A3871E; } #toc{ display:none; } pre, .mw-code{ border: 0; background-color: transparent; padding: 0; } .checkboxLabel{ display: block; } .page-Forside #firstHeading{ display : none; } .createbox p { max-width:620px; } .infobox { border: 1px solid #a7d7f9!important; background-color: transparent !important; min-width:350px !important; padding: 0 !important; border-collapse: collapse; border-collapse: separate; border-spacing: 0; border-radius: 4px; border-top: 0!important; } .infobox th, .infobox td{ padding-left: 5px; } /* top-left border-radius */ table tr:first-child th:first-child, table.Info tr:first-child td:first-child { border-top-left-radius: 6px; } /* top-right border-radius */ table tr:first-child th:last-child, table.Info tr:first-child td:last-child { border-top-right-radius: 6px; } .infobox tbody tr:first-child th:first-child{ background-color: #001f6a !important; color: white; } h1, h2, h3, h4{ color:#001F6A ; } div.thumbinner, #news, .infobox{ border: 1px solid #a7d7f9; } a:visited{ color: #337ab7; } a:hover, a:focus, div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited{ text-decoration: none; color:#001F6A ; } a,div#mw-panel div.portal div.body ul li a:hover, div#mw-panel div.portal div.body ul li a:focus{ color: #337ab7; } div.gallery{ display: block; width:100%; min-height:320px; } .gallery .article{ margin:20px; height:311px; width:215px; float:left; background-color:#f4f4f4; } .gallery .image{ width:215px; height:155px; } .gallery .caption{ padding: 10px!important; } .gallery .article p{ margin:0; } .gallery .article a{ display: block; position: absolute; height: 311px; width: 215px; } .gallery .article .image{ background-size: cover; } .gallery .article4 .image{ background-image: url("http://levendekulturarv-test-01.kb.dk/images/6/6a/Diamant-Nat01b.jpg_1703184387.jpg"); } .gallery .article5 .image{ background-image: url("http://levendekulturarv-test-01.kb.dk/images/4/4f/Sommer.jpg"); }