Difference between revisions of "MediaWiki:Common.css"

From LMU BioDB 2015
Jump to: navigation, search
(Soften borders, standardize alignment.)
(Restore one-sided borders.)
Line 32: Line 32:
  
 
.schedule-table td {
 
.schedule-table td {
     border: 0.5px solid lightgray;
+
     border-bottom: 0.5px solid lightgray;
 +
    border-right: 0.5px solid lightgray;
 
}
 
}
  

Revision as of 00:57, 30 August 2015

/* CSS placed here will be applied to all skins */
.toc-container {
    float: right;
    margin-left: 20px;
}

/* A little table compensation. */
.mw-content-ltr table p + ul {
    margin-top: -5px;
}

/* Standard style for quickie highlights/warnings. */
.content-warning {
    border-radius: 10px;
    background-color: #fed;
    box-shadow: inset 0 4px 8px #987;
    padding: 10px;
    text-align: center
}

/* Style group for the specialized class schedule table. */

.schedule-table {
    width: 100%;
    margin: 1em 0;
}

.schedule-table th {
    background-color: #ddd;
    text-align: center;
}

.schedule-table td {
    border-bottom: 0.5px solid lightgray;
    border-right: 0.5px solid lightgray;
}

.schedule-table td, .schedule-table th {
    padding: 1.5ex;
    vertical-align: top;
}

.schedule-table td:nth-child(2),
.schedule-table td:last-child {
    text-align: center;
}