Common.css: Difference between revisions
Shawndouglas (talk | contribs) No edit summary |
Shawndouglas (talk | contribs) No edit summary |
||
| Line 93: | Line 93: | ||
div.columns ul { | div.columns ul { | ||
margin-top: 0; | margin-top: 0; | ||
} | |||
/* Avoid elements from breaking between columns */ | |||
.nocolbreak, | |||
div.columns li, | |||
div.columns dd dd { | |||
-webkit-column-break-inside: avoid; | |||
page-break-inside: avoid; | |||
break-inside: avoid-column; | |||
} | |||
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */ | |||
.flowlist ul { | |||
overflow-x: hidden; | |||
margin-left: 0; | |||
padding-left: 1.6em; | |||
} | |||
.flowlist ol { | |||
overflow-x: hidden; | |||
margin-left: 0; | |||
padding-left: 3.2em; | |||
} | |||
.flowlist dl { | |||
overflow-x: hidden; | |||
} | } | ||
Revision as of 14:41, 20 June 2017
/* CSS placed here will be applied to all skins */
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/* Hide "Main Page" titles */
body.page-Main_Page .title, body.page-Main_Page #tagline {
display:none;
}
/* Adapting pre */
pre {
max-width: 960px;
border: 1px solid #aaa;
background-color: #f9f9f9;
margin: .6em 0;
padding: .6em;
font-size: .9em;
white-space: pre-wrap !important;
word-wrap: break-word;
overflow: auto;
}
.row.display {
background: #eee;
font-size: 11px;
margin-bottom: 10px;
}
.row.display .columns, .row.display .column {
background: #e7e7e7;
border: 1px solid #ddd;
font-size: 13px;
font-weight: bold;
text-indent: 3px;
padding-top: 8px;
color: #444;
padding-bottom: 8px;
}
/* CodeRay Syntax Highlighting Styles to match Github */
.CodeRay {
background-color: #eee;
border: 1px solid #ccc;
font-family: "Consolas", "Liberation Mono", Courier, monospace;
color: #000;
padding: 0.8em 0 0.8em 0.8em;
margin-bottom: 1.3em;
overflow: auto; }
.CodeRay pre {
margin: 0;
font-size: .9em;
line-height: 1.4em;
white-space: pre; }
/* Table of Contents */
#toc {
border:1px solid #000000;
background-color:#ffffff;
padding:5px;
font-size: 95%;
}
/* Preformatted text */
pre {
background-color: #e6e6e6;
}
/* Edit window toolbar */
#toolbar {
height: 22px;
margin-bottom: 6px;
}
/* Margins for <ol> and <ul> */
#content ol, #content ul,
#mw_content ol, #mw_content ul {
margin-bottom: 0.5em;
}
/* Make the list of references smaller */
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}
/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
overflow-x: hidden;
margin-left: 0;
padding-left: 1.6em;
}
.flowlist ol {
overflow-x: hidden;
margin-left: 0;
padding-left: 3.2em;
}
.flowlist dl {
overflow-x: hidden;
}