MediaWiki

Foreground.css: Difference between revisions

Citadel LRP

(Style contents boxes)
No edit summary
Line 1: Line 1:
  +
/* Overall site look */
  +
 
body {
 
background-attachment: fixed;
 
background-position: 0% 30%;
 
background-size:180vw;
 
background-image: url("http://citadel.camlarp.co.uk/w/images/5/59/38338630751_7851c952eb_o_smaller.jpg");
 
background-color: #69674f;
 
}
  +
 
#page-content {
 
width: 800px;
 
min-width: 70%;
 
max-width: 100%;
 
background: white;
 
margin: -45px auto;
 
padding: 45px 6px 6px;
 
min-height: 100vh;
 
box-shadow: 0px 0px 10px 0px;
 
}
  +
 
footer {
 
display: none;
 
}
  +
 
h1,h2,h3,h4 {
 
h1,h2,h3,h4 {
 
font-family: Abel;
 
font-family: Abel;
Line 8: Line 33:
 
display: inline
 
display: inline
 
}
 
}
  +
 
p {
 
padding: 0.5em;
 
}
  +
 
a {
 
color: #191970;
 
}
  +
  +
  +
/* IC content boxes */
   
 
div.wrap {
 
div.wrap {
Line 17: Line 53:
 
max-width: 500px;
 
max-width: 500px;
 
margin: auto;
 
margin: auto;
}
 
 
p {
 
padding: 0.5em;
 
 
}
 
}
   
Line 36: Line 68:
 
}
 
}
   
  +
/* Image thumbnails */
body {
 
background-attachment: fixed;
 
background-position: 0% 30%;
 
background-size:180vw;
 
background-image: url("http://citadel.camlarp.co.uk/w/images/5/59/38338630751_7851c952eb_o_smaller.jpg");
 
background-color: #69674f;
 
}
 
 
#page-content {
 
width: 800px;
 
min-width: 70%;
 
max-width: 100%;
 
background: white;
 
margin: -45px auto;
 
padding: 45px 6px 6px;
 
min-height: 100vh;
 
box-shadow: 0px 0px 10px 0px;
 
}
 
 
footer {
 
display: none;
 
}
 
   
 
div.thumb {
 
div.thumb {
Line 79: Line 90:
 
}
 
}
   
  +
/* Tables of contents */
a {
 
color: #191970;
 
}
 
   
 
.toc {
 
.toc {
Line 88: Line 97:
 
border: 1px #ccc solid;
 
border: 1px #ccc solid;
 
background: #eee;
 
background: #eee;
padding: 1em;
+
padding: 0.2em;
 
}
 
}
   
.toc .toctitle h2 {
+
.toc #toctitle h2 {
 
font-size: 1.2em;
 
font-size: 1.2em;
padding: 0;
+
padding-top: 0;
margin: 0;
+
margin-top: 0;
 
}
 
}
   
Line 114: Line 123:
 
.tocnumber {
 
.tocnumber {
 
color: #000;
 
color: #000;
  +
padding-right: 0.5em;
 
}
 
}

Revision as of 10:37, 19 September 2018

/* Overall site look */

body {
      background-attachment: fixed;
      background-position: 0% 30%;
      background-size:180vw;
      background-image: url("http://citadel.camlarp.co.uk/w/images/5/59/38338630751_7851c952eb_o_smaller.jpg");
      background-color: #69674f;
 }

#page-content {
   width: 800px;
   min-width: 70%;
   max-width: 100%;
   background: white;
   margin: -45px auto;
   padding: 45px 6px 6px;
   min-height: 100vh;
   box-shadow: 0px 0px 10px 0px;
}

footer {
  display: none;
}

h1,h2,h3,h4 { 
  font-family: Abel;
  margin-top: 0.5em;
  margin-bottom: 0.2em;
}

h1 span, h2 span, h3 span, h4 span {
  display: inline
}

p {
  padding: 0.5em;
}

a {
  color: #191970;
}


/* IC content boxes */

div.wrap {
  padding: 15px;
  margin: auto;
}

div.small {
  max-width: 500px;
  margin: auto;
}

div.ic {
  text-align: justify;
  border: 2px solid grey; 
  background-color: #191970; 
  padding: .3em 1em; 
  color: #FDA50F; 
  font-family: Abel; 
  font-size: 1.1em; 
  font-weight: 700; 
  line-height: 20px;
  margin: 1em 0;
}

/* Image thumbnails */

div.thumb {
  background: #eee;
  padding: 0.5em;
  font-size: 0.85em;
  border: 1px #ccc solid;
  color: #333;
}

div.tright {
  margin-left: 1em;
}

div.tleft {
  margin-right: 1em;
}

div.thumb div.thumbinner img {
  border: 1px #ccc solid;
}

/* Tables of contents */

.toc {
  display: table;
  font-family: Abel;
  border: 1px #ccc solid;
  background: #eee;
  padding: 0.2em;
}

.toc #toctitle h2 {
  font-size: 1.2em;
  padding-top: 0;
  margin-top: 0;
}

.toc ul {
  list-style-type: none;
  list-style-image: none;
  margin-left: 0;
  padding-left: 0;
}

.toc ul ul {
  margin: 0 0 0 2em;
}

.tocnumber, .toctext {
  display: table-cell;
}

.tocnumber {
  color: #000;
  padding-right: 0.5em;
}