Toggle menu
Toggle personal menu
Ikke logget på
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Forskelle mellem versioner

MediaWiki interface page
No edit summary
No edit summary
Linje 70: Linje 70:


.citizen-table {
.citizen-table {
 
border: 1px solid #ddd;
     border-collapse: collapse;
     border-collapse: separate;
     border-radius: 10px; /* Rounded corners */
     border-radius: 10px; /* Rounded corners */
     overflow: hidden; /* Ensures rounded corners are visible */
     overflow: hidden; /* Ensures rounded corners are visible */
Linje 86: Linje 86:
/* Table body styling */
/* Table body styling */
.citizen-table td {
.citizen-table td {
border: 1px solid #ddd;
     padding: 10px;
     padding: 10px;
     border-bottom: 1px solid #ddd; /* Horizontal lines between rows */
     border-bottom: 1px solid #ddd; /* Horizontal lines between rows */
}
}

Versionen fra 13. jun. 2024, 19:54

/** CSS inkluderet her vil være aktivt for alle brugere. */
/* Infobox templates */
.infobox {
 border: 1px solid #a2a9b1;
 background: #f8f9fa;
 color: black;
 margin-bottom: 0.5em;
 /* @noflip */
 margin-left: 1em;
 padding: 0.2em;
 /* @noflip */
 float: right;
 /* @noflip */
 clear: right;
 font-size: 90%;
}
.infobox td,
.infobox th {
 vertical-align: central;
}

.infobox caption {
   font-size: 125%;
   font-weight: bold;
   font-style: italic;
   position: absolute; 
   bottom: 0; 
   left: 0;
   word-wrap: break-word;
   margin-left: inherit;
 
}
.infobox.bordered {
 border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
 border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
 border: 0 solid #a2a9b1;
}
.infobox.sisterproject {
 width: 20em;
 font-size: 90%;
}



.archive-box {
 border: 1px solid #aaf;
 background: #f2f2f9;
 color: #000;
 margin-bottom: 0.5em;
 margin-left: 1em;
 padding: 0.2em;
 float: right;
 clear: right;
 text-align: center;
}

.mw-body-content a:visited { color: #0645ad !IMPORTANT; }
.mw-body-content a.new:link { color:#ba0000 !IMPORTANT; }
.mw-body-content a.new:visited { color: #ba0000 !IMPORTANT; }

.infobox-cell:empty {
  display: none;
}

.citizen-table {
	border: 1px solid #ddd;
    border-collapse: separate;
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensures rounded corners are visible */
    margin: 20px 0; /* Some space around the table */
}

/* Table header styling */
.citizen-table th {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd; /* Horizontal line below header */
}

/* Table body styling */
.citizen-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Horizontal lines between rows */
}