MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Basti (Diskussion | Beiträge) Raumstatus-Image per CSS |
Basti (Diskussion | Beiträge) K fix Laborstatus display Markierung: Manuelle Zurücksetzung |
||
(23 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */ | /* CSS an dieser Stelle wirkt sich auf alle Skins aus */ | ||
/* Tabellen */ | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaaaaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.prettytable th, table.prettytable td { | |||
border: 1px solid #8cacbb; | |||
padding: 0.2em; | |||
vertical-align: top; | |||
} | |||
table.prettytable th { | |||
background: #dee7ec; | |||
text-align: left; | |||
} | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
} | |||
/* Wiki table */ | |||
table.wikitable { | table.wikitable { | ||
margin: 1em 1em 1em 0; | |||
margin: 1em 1em 1em 0; | background: #f9f9f9; | ||
border: 1px #aaa solid; | |||
background: #f9f9f9; | border-collapse: collapse; | ||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | } | ||
Zeile 167: | Zeile 188: | ||
} | } | ||
#p-Laborstatus > div | /* Laborstatus */ | ||
background-image: url( | #p-Laborstatus > div { | ||
width: 100px; | |||
height: 25px; | |||
background-image: url(https://freieslabor.org/api/room_image.png) !important; | |||
background-size: cover; | |||
border-radius: 3px; | |||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); | |||
} | } |
Aktuelle Version vom 18. November 2024, 17:21 Uhr
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */ /* Tabellen */ table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.prettytable th, table.prettytable td { border: 1px solid #8cacbb; padding: 0.2em; vertical-align: top; } table.prettytable th { background: #dee7ec; text-align: left; } table.prettytable caption { margin-left: inherit; margin-right: inherit; } /* Wiki table */ table.wikitable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .wikitable th, .wikitable td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th { background: #f2f2f2; text-align: center; } .wikitable caption { font-weight: bold; } #siteSub { display:block; } /* Transparent Table */ table.transparenttable { margin: 1em; background: transparent; border: 0px transparent solid; border-collapse: collapse; } /* Community Twitter Extension CSS */ /* Style submit button like a normal link by Dan Schulz (http://forums.digitalpoint.com/showthread.php?t=403667#post3882723) */ .submit { background: transparent; border-top: 0; border-right: 0; border-bottom: 1px solid #00F; border-left: 0; color: #00F; display: inline; margin: 0; padding: 0; } *:first-child+html .submit { /* hack needed for IE 7 */ border-bottom: 0; text-decoration: underline; } * html .submit { /* hack needed for IE 5/6 */ border-bottom: 0; text-decoration: underline; } .ct-error{ color:#FF0000; } .ct-info{ color: #B3B3B3; } .ct-success{ color:#006600; } span.ct-tweet{ text-align:right;margin: 10px 25px 10px 25px;float:right; } table.ct-tweet-section{ width:550px;height:100px; } td.ct-tweet-section{ text-align:center; } textarea.ct-tweet-input{ width: 490px;height: 50px; } table.ct-last-tweets{ width:550px; } span.closed { color: red; } span.open { color: green; } /* Feed Icon */ .feedlink { background: url(skins/common/images/feed-icon.png) center left no-repeat; padding-left: 16px; } /* Projektstatus */ .projekttitel { font-size: 150%; } .projekttitel a:link { color: #000000; } .red { background-color: #e07263; } .yellow { background-color: #fff17d; } .green { background-color: #82d482; } /* Laborstatus */ #p-Laborstatus > div { width: 100px; height: 25px; background-image: url(https://freieslabor.org/api/room_image.png) !important; background-size: cover; border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }