MediaWiki:Common.css

Fra Levendekultur
Spring til navigation Spring til søgning

Bemærk: Efter at have gemt er du måske nødt til at tømme din browsers cache for at kunne se ændringerne.

  • Firefox / Safari: Hold Shift nede og klik på Reload, eller tryk enten Ctrl-F5 eller Ctrl-R (⌘-R på en Mac).
  • Google Chrome: Tryk Ctrl-Shift-R (⌘-Shift-R på en Mac).
  • Internet Explorer / Edge: Hold Ctrl nede og klik på Refresh, eller tryk på Ctrl-F5.
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files
/** 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;
}
.infobox tr:first-child{
display:none;
}
/* 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");
}
#mw-createaccount-cta{
font-weight:normal;
}
.mw-upload-editlicenses a{
pointer-events: none;
cursor: default;
}
.mw-upload-editlicenses{
text-align:left;
}