Jump to content

Template:LokiPage/base.css: Difference between revisions

From RetroMUX
No edit summary
Stripping text-shadow, CSS finally renders
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifeq:{{{debug|0}}}|1|
{{#ifeq:{{{debug|0}}}|1|
 
<table class="wikitable">
{| class="wikitable"
<tr>
|-
<td>page color</td><td>{{{page color|undefined}}}</td>
| page color || {{{page color|undefined}}}
</tr>
|-
<tr>
| page border || {{{page border|undefined}}}
<td>page border</td><td>{{{page border|undefined}}}</td>
|-
</tr>
| cell color || {{{cell color|undefined}}}
<tr>
|-
<td>cell color</td><td>{{{cell color|undefined}}}</td>
| cell text || {{{cell text|undefined}}}
</tr><tr>
|-
<td>cell text</td><td>{{{cell text|undefined}}}</td>
| link color || {{{link color|undefined}}}
</tr><tr>
|-
<td>link color</td><td>{{{link color|undefined}}}</td>
| header color || {{{header color|undefined}}}
</tr><tr>
|-
<td>header color</td><td>{{{header color|undefined}}}</td>
| header border || {{{header border|undefined}}}
</tr><tr>
|-
<td>header border</td><td>{{{header border|undefined}}}</td>
| header text || {{{header text|undefined}}}
</tr><tr>
|-
<td>header text</td><td>{{{header text|undefined}}}</td>
| text-shadow || {{{text-shadow|undefined}}}
</tr>
|}
</table>


}}
}}
</includeonly>
</includeonly>
{| class="wikitable"
|-
| page color || {{{page color|undefined}}}
|-
| page border || {{{page border|undefined}}}
|-
| cell color || {{{cell color|undefined}}}
|-
| cell text || {{{cell text|undefined}}}
|-
| link color || {{{link color|undefined}}}
|-
| header color || {{{header color|undefined}}}
|-
| header border || {{{header border|undefined}}}
|-
| header text || {{{header text|undefined}}}
|-
| text-shadow || {{{text-shadow|undefined}}}
|}
#loki-table {
#loki-table {
   background-color: {{{page color}}};
   background-color: {{{page color}}};
Line 52: Line 31:
   width: 100%;
   width: 100%;
}
}
#loki-table.skyline {
#loki-table.skyline {
   padding: 5px;
   padding: 5px;
Line 81: Line 59:
   gap: 0;
   gap: 0;
}
}
.loki-cell {
.loki-cell {
   border: 1px solid {{{cell border}}};
   border: 1px solid {{{cell border}}};
Line 142: Line 119:
   width: 30%;
   width: 30%;
}
}
.loki-cell-table {
.loki-cell-table {
   border-radius: 4px;
   border-radius: 4px;
Line 165: Line 141:
   padding: 5px 10px;
   padding: 5px 10px;
}
}
 
.loki-cell a, .loki-cell a:visited, #content .loki-cell a.external, #content .loki-cell a.external:visited {  
.loki-cell a, .loki-cell a:visited, #content .loki-cell a.external, #content .loki-cell a.external:visited { color: {{{link color}}}; text-decoration: none; }
  color: {{{link color}}};  
.loki-cell a:hover, #content .loki-cell a.external:hover { color: {{{link hover}}}; text-decoration: none; }
  text-decoration: none;  
 
}
.loki-cell a:hover, #content .loki-cell a.external:hover {  
  color: {{{link hover}}};  
  text-decoration: none;  
}
.loki-cell a.new { color: #dd3333 }
.loki-cell a.new { color: #dd3333 }


Line 180: Line 160:
   text-align: center;
   text-align: center;
}
}
.loki-header.headline {
.loki-header.headline {
   border-top: 1px solid #102f45;
   border-top: 1px solid #102f45;
Line 198: Line 177:
   border: none;
   border: none;
}
}
.loki-header.skyline {
.loki-header.skyline {
   font-family:Rock Salt;  
   font-family:Rock Salt;  
Line 209: Line 187:
   border-bottom: 1px dashed #87CEFA;
   border-bottom: 1px dashed #87CEFA;
}
}
.loki-glass {
  background: linear-gradient(top, rgba(255, 255, 255, .5), rgba(255, 255, 255, .2) 50%, rgba(0, 0, 0, .2) 50%, rgba(255, 255, 255, .1));
  display: block;
  padding-bottom: .125em;
  text-outline: 1px 1px #000;
  text-shadow: {{{text-shadow| 0 -1px 1px rgba(0, 0, 0, .7)}}};
  width: 100%;
}
.loki-italic { font-style: italic; }
#loki-table h2 {
#loki-table h2 {
   color: {{{header color}}};
   color: {{{header color}}};
Line 229: Line 195:
   padding-right: 2em;
   padding-right: 2em;
   text-align: right;
   text-align: right;
}
.loki-quote {
  color: {{{header color}}};
  font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-outline: 1px 1px #000;
  text-shadow: {{{text-shadow| 0 -1px 1px rgba(0, 0, 0, .7)}}};
  width: 50%;
}
.loki-shadowtext {
  font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
  text-outline: 1px 1px #000;
  text-shadow: {{{text-shadow| 0 -1px 1px rgba(0, 0, 0, .7)}}};
}
.loki-rounded img {
  border-radius: 15px;
}
#loki-table + p {
  margin-top: .125em;
  margin-right: .25em;
  margin-bottom: 2em;
}
}
<noinclude>
<noinclude>
[[Category:Character Template]]
[[Category:Character Template]]
</noinclue>
</noinclude>

Latest revision as of 18:35, 21 April 2025

  1. loki-table {
 background-color: {{{page color}}};
 border: 1px solid {{{page border}}};
 border-radius: 7px;
 width: 100%;

}

  1. loki-table.skyline {
 padding: 5px;
 border-radius: revert;
 border: none;

}

  1. loki-table.headline {
 padding: 0;
 border-radius: revert;

}

.loki-table {

 padding: 5px 5px 0;
 margin: 0px;

}

.loki-table.headline {

 padding: 0;
 background: none;

}

.loki-middle {

 gap: 10px;

}

.loki-middle.headline {

 gap: 0;

} .loki-cell {

 border: 1px solid {{{cell border}}};
 border-radius: 5px;
 background-color: {{{cell color}}};
 margin-bottom: 0.5em; 
 width: 100%;
 position: relative;

}

.loki-cell.queen {

 text-align: left; 
 vertical-align: top; 
 padding: 10px;
 width: auto;
 border-radius: revert;
 border: none;

}

.loki-cell.skyline {

 border: none;
 border-radius: revert;
 font-size:12pt;

}

.loki-cell.headline {

 border: none;
 border-radius: revert;
 margin-bottom: 0;

}

.loki-cell.headline a {

 color: #794D33;

}

.loki-cell-left {

 vertical-align: top;
 width: 70%;
 padding-right: 5px;

}

.loki-cell-left.headline {

 border-right: 1px dotted #102f45;
 padding: 0;

}

.loki-cell-top.skyline, .loki-cell-left.skyline, .loki-cell-right.skyline, .loki-cell-bottom.skyline {

 border: 1px dashed #87CEFA;
 padding: 10px;
 margin-bottom: 0.5em;
 background-color: #000

}

.loki-cell-right.skyline {

 border-radius: 20px;

}

.loki-cell-right {

 vertical-align: top;
 width: 30%;

} .loki-cell-table {

 border-radius: 4px;
 color: {{{cell text}}};
 width: 100%;

}

.loki-cell-content {

 color: {{{cell text}}};

}

.loki-cell-content.vintage {

 padding: 0 10px;

}

.loki-cell-content.skyline {

 padding: 1em 5px;

}

.loki-cell-content.headline {

 font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
 padding: 5px 10px;

} .loki-cell a, .loki-cell a:visited, #content .loki-cell a.external, #content .loki-cell a.external:visited {

 color: {{{link color}}}; 
 text-decoration: none; 

} .loki-cell a:hover, #content .loki-cell a.external:hover {

 color: {{{link hover}}}; 
 text-decoration: none; 

} .loki-cell a.new { color: #dd3333 }

.loki-header {

 background-color: {{{header color}}};
 border-top-left-radius: 4px;
 border-top-right-radius: 4px;
 border: 1px solid {{{header border}}};
 color: {{{header text}}};
 font-weight: bold;
 text-align: center;

} .loki-header.headline {

 border-top: 1px solid #102f45;
 border-bottom: 1px dotted #102f45;
 border-left: none;
 border-right: none;
 border-radius: revert;
 background: linear-gradient(to bottom, rgba(195, 210, 231, 1) 0%, rgba(195, 210, 231, 0.8) 33%, rgba(195, 210, 231, 0.65) 50%, rgba(195, 210, 231, 0.8) 67%, rgba(195, 210, 231, 1) 100%);
 font-size: 1.25em;
 font-family: Rockwell, Courier Bold, Courier, Georgia, Times, Times New Roman, serif;
 padding: 5px 0;

}

.loki-header.queen {

 font-variant: small-caps;
 border-radius: revert;
 border: none;

} .loki-header.skyline {

 font-family:Rock Salt; 
 font-variant:small-caps; 
 font-size:12pt;
 border-radius: revert;
 border-top: none;
 border-left: none;
 border-right: none;
 border-bottom: 1px dashed #87CEFA;

}

  1. loki-table h2 {
 color: {{{header color}}};
 font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
 font-size: 125%;
 font-style: italic;
 font-weight: bold;
 padding-right: 2em;
 text-align: right;

}