evennia/stylesheets/styles.css

618 lines
8.4 KiB
CSS
Raw Normal View History

2020-06-16 22:38:37 +02:00
/* @import url(https://fonts.googleapis.com/css?family=Arvo:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Open%20Sans:400,700,400italic); */
2014-01-23 11:37:07 -08:00
/* MeyerWeb Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
vertical-align: baseline;
}
/* Base text styles */
body {
2020-10-16 00:41:25 +02:00
padding: 0px;
2020-06-16 22:38:37 +02:00
font-family:"Open Sans", Helvetica, Arial, sans-serif;
2014-01-23 11:37:07 -08:00
font-size: 14px;
color: #232323;
2020-06-16 18:58:02 +02:00
background-color: #F4F3F1;
2014-01-23 11:37:07 -08:00
margin: 0;
line-height: 1.8em;
-webkit-font-smoothing: antialiased;
background-image: url("../images/grey_by_griatch.jpg");
2020-10-16 00:41:25 +02:00
background-attachment: fixed;
2014-01-23 11:37:07 -08:00
}
h1, h2, h3, h4, h5, h6 {
color:#232323;
margin:36px 0 10px;
}
p, ul, ol, table, dl {
2020-06-16 20:25:20 +02:00
margin:0 0 20px;
2014-01-23 11:37:07 -08:00
}
h1, h2, h3 {
font-family: Arvo, Monaco, serif;
line-height:1.3;
font-weight: normal;
}
h1,h2, h3 {
display: block;
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 18px;
}
h4, h5, h6 {
font-family: Arvo, Monaco, serif;
font-weight: 700;
}
a {
2020-06-16 18:58:02 +02:00
color:#5C81F1;
2014-01-23 11:37:07 -08:00
font-weight:200;
text-decoration:none;
}
a:hover {
text-decoration: underline;
}
a small {
font-size: 12px;
}
2020-10-18 22:25:53 +02:00
small {
font-size: 12px;
}
2014-01-23 11:37:07 -08:00
em {
font-style: italic;
}
strong {
font-weight:700;
2020-10-31 18:53:53 +01:00
font-style: italic;
2014-01-23 11:37:07 -08:00
}
ul {
list-style: inside;
padding-left: 25px;
}
ol {
list-style: decimal inside;
padding-left: 20px;
}
blockquote {
margin: 0;
padding: 0 0 0 20px;
font-style: italic;
}
dl, dt, dd, dl p {
font-color: #444;
}
dl dt {
font-weight: bold;
}
dl dd {
padding-left: 20px;
font-style: italic;
}
dl p {
padding-left: 20px;
font-style: italic;
}
hr {
border:0;
background:#ccc;
height:1px;
margin:0 0 24px;
}
/* Images */
img {
position: relative;
margin: 0 auto;
max-width: 650px;
padding: 5px;
margin: 10px 0 10px 0;
2014-01-23 11:37:07 -08:00
}
p img {
display: inline;
2020-06-16 20:25:20 +02:00
margin: 0px;
2014-01-23 11:37:07 -08:00
padding: 0;
vertical-align: middle;
text-align: center;
border: none;
2020-06-16 18:58:02 +02:00
opacity: 0.6;
2014-01-23 11:37:07 -08:00
}
2020-06-16 18:58:02 +02:00
.floatleft {
2020-10-17 16:37:00 +02:00
float: left;
}
.floatright {
2020-10-17 16:37:00 +02:00
float: right;
}
2014-01-23 11:37:07 -08:00
/* Code blocks */
code, pre {
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color:#000;
font-size:14px;
}
.codeblock {
margin: 1em 0 1em 4em;
}
2014-01-23 11:37:07 -08:00
pre {
padding: 4px 12px;
background: #FDFEFB;
border-radius:4px;
border:1px solid #D7D8C8;
overflow: auto;
overflow-y: hidden;
margin-bottom: 32px;
}
/* Tables */
table {
width:100%;
}
table {
border: 1px solid #ccc;
margin-bottom: 32px;
text-align: left;
}
th {
font-family: 'Arvo', Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: normal;
padding: 10px;
background: #232323;
color: #FDFEFB;
}
td {
padding: 10px;
background: #ccc;
}
2020-10-17 16:37:00 +02:00
2014-01-23 11:37:07 -08:00
/* Wrapper */
.wrapper {
width:960px;
}
/* Header */
2020-06-16 20:25:20 +02:00
.logo {
padding-left: 15px;
opacity: 0.6
2020-06-16 20:25:20 +02:00
}
2014-01-23 11:37:07 -08:00
header {
2020-06-16 18:58:02 +02:00
background-color: #d7d6d4;
color: #2C2C2C;
2020-10-16 00:41:25 +02:00
width:160px;
2014-01-23 11:37:07 -08:00
float:left;
position:fixed;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
2020-10-16 00:41:25 +02:00
padding: 34px 25px 35px 50px;
2020-06-16 18:58:02 +02:00
margin: -10px 25px 0 0;
2014-01-23 11:37:07 -08:00
-webkit-font-smoothing: antialiased;
2020-06-16 18:58:02 +02:00
height: 94vh;
2020-10-17 16:37:00 +02:00
opacity: 0.8;
}
2014-01-23 11:37:07 -08:00
}
2020-10-16 00:41:25 +02:00
p.header {22px
2014-01-23 11:37:07 -08:00
font-size: 16px;
}
h1.header {
font-family: Arvo, sans-serif;
font-size: 30px;
font-weight: 300;
line-height: 1.3em;
border-bottom: none;
margin-top: 0;
}
2020-06-16 21:24:17 +02:00
h1.header, a.header, a.name, header a {
color: #424242;
2014-01-23 11:37:07 -08:00
}
a.header {
text-decoration: underline;
}
a.name {
white-space: nowrap;
}
header ul {
list-style:none;
padding:0;
}
header li {
list-style-type: none;
2020-10-28 22:07:05 +01:00
margin-bottom: 1px;
2020-10-18 22:25:53 +02:00
}
2020-10-28 22:39:58 +01:00
.header-text {
line-height: 1.2;
margin-top: -10px;
margin-bottom: 25px;
opacity: 0.6;
}
2020-10-18 22:25:53 +02:00
a.buttons {
display: table-cell;
2014-01-23 11:37:07 -08:00
width:132px;
height:15px;
line-height: 1em;
padding: 6px 6px 6px 7px;
border-radius:4px;
border:1px solid #0D0D0D;
-webkit-font-smoothing: antialiased;
2020-06-16 18:58:02 +02:00
/*! background: url(../images/arrow-down.png) no-repeat; */
2014-01-23 11:37:07 -08:00
font-weight: normal;
2020-06-16 18:58:02 +02:00
/*! text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0; */
2020-10-18 22:25:53 +02:00
padding: 1px 2px 2px 21px;
2014-01-23 11:37:07 -08:00
height: 30px;
2020-10-18 22:25:53 +02:00
text-decoration: none;
background-color: #efeeec;
vertical-align: middle;
2014-01-23 11:37:07 -08:00
}
2020-10-18 22:25:53 +02:00
a.buttons:hover {
background-color: #fff
}
2020-06-16 18:58:02 +02:00
2020-10-28 22:07:05 +01:00
.buttonsection {
margin-bottom: 14px;
}
2014-01-23 11:37:07 -08:00
a.github {
background: url(../images/octocat-small.png) no-repeat 1px;
2020-10-18 22:25:53 +02:00
background-color: #efeeec;
2014-01-23 11:37:07 -08:00
}
2020-10-28 22:28:29 +01:00
.buttonsidetext {
position: absolute;
transform-origin: top left;
2020-10-31 15:56:32 +01:00
transform: rotate(-90deg);
2020-10-28 22:28:29 +01:00
padding-left: 11px;
left: 25px;
opacity: 0.5;
}
2014-01-23 11:37:07 -08:00
/* Section - for main page content */
section {
2020-10-16 00:41:25 +02:00
width:675px;
2014-01-23 11:37:07 -08:00
float:right;
padding-bottom:50px;
2020-10-16 00:41:25 +02:00
background-color: #f4f3f1;
opacity: 0.9;
padding-left: 31px;
padding-right: 19px;
position: revert;
2014-01-23 11:37:07 -08:00
}
/* Footer */
footer {
2020-10-16 00:41:25 +02:00
width:160px;
2020-10-18 22:25:53 +02:00
float:right;
position: static;
margin-top: 70px;
2014-01-23 11:37:07 -08:00
}
/* Screenshot page */
.img.screenshot {
transition: transform .5s;
filter: grayscale(100%);
}
.img.screenshot:hover {
transform: scale(1.5);
transition-delay: 1.5s;
filter: grayscale(0%);
}
.screenshot-header {
float: none;
position: static;
width: auto;
height: auto;
margin: 0px;
margin-bottom: -23px;
}
.screenshot-caption {
background-color: #fff;
border-radius: 10px;
padding: 10px;
margin-left: 10px;
font-style: italic;
opacity: 0.9;
}
.screenshot-linksection {
position: relative;
top: 35px;
right: -114px;
}
.screenshot-buttons {
position: absolute;
left: 36px;
top: 5px;
}
2020-10-18 22:25:53 +02:00
/* News feed */
.news-event {
margin-bottom: 7px;
font-size: 12px;
border-left: solid 1px;
padding-left: 8px;
line-height: 1.3em;
}
.events-fetch {
font-style: italic;
}
2020-10-28 22:28:29 +01:00
/* sponsor buttons */
2020-10-28 21:43:50 +01:00
.sponsor {
margin-left: -24px;
}
.patreon {
scale: 0.6;
}
.paypal {
scale: 0.6;
}
.sponsor-column {
float: left;
width: 33%;
padding: 2px;
}
/* Media alternatives */
2020-10-31 15:56:32 +01:00
@media print, screen and (max-width: 960px), (orientation: portrait) {
2014-01-23 11:37:07 -08:00
div.wrapper {
width:auto;
margin:0;
}
2020-10-18 22:25:53 +02:00
header, section {
2020-10-18 22:36:00 +02:00
float: none;
2014-01-23 11:37:07 -08:00
position:static;
width:auto;
2020-06-16 20:25:20 +02:00
height:auto;
2020-10-16 00:41:25 +02:00
margin:0px
2014-01-23 11:37:07 -08:00
}
2020-10-18 22:25:53 +02:00
footer {
2020-10-18 22:36:00 +02:00
margin-top: 0px;
2020-10-18 22:25:53 +02:00
}
2014-01-23 11:37:07 -08:00
section {
2020-10-31 17:45:30 +01:00
padding:20px 8px 100px 25px;
2014-01-23 11:37:07 -08:00
}
header a small {
display:inline;
}
2020-10-16 00:41:25 +02:00
header ul, header p.view {
position:static;
2014-01-23 11:37:07 -08:00
}
2020-06-16 20:25:20 +02:00
2020-10-31 15:56:32 +01:00
.header-text {
word-wrap: break-word;
width: 150px;
}
2020-06-16 20:25:20 +02:00
.linksection {
position: absolute;
2020-10-16 00:41:25 +02:00
top: 20px;
right: 20px;
2020-06-16 20:25:20 +02:00
}
.img, .img.screenshot {
max-width: 720px;
}
2020-10-18 22:25:53 +02:00
.newsfeed {
position: absolute;
2020-10-28 22:39:58 +01:00
top: 70px;
2020-10-18 22:25:53 +02:00
right: 200px;
}
2014-01-23 11:37:07 -08:00
2020-10-28 21:43:50 +01:00
.sponsor {
float: none;
position: absolute;
top: -2px;
right: 167px;
}
2020-10-28 22:28:29 +01:00
.buttonsidetext {
display: none;
}
2020-10-28 21:43:50 +01:00
2020-10-18 22:25:53 +02:00
}
2020-10-31 17:45:30 +01:00
@media print, screen and (max-width: 760px) {
2014-01-23 11:37:07 -08:00
body {
word-wrap:break-word;
}
header {
2020-10-18 22:25:53 +02:00
float: none;
2020-10-16 00:41:25 +02:00
padding:-10px 20px 0 20px;
2014-01-23 11:37:07 -08:00
}
section {
2020-10-16 00:41:25 +02:00
padding:10px -1px 10px 20px;
2014-01-23 11:37:07 -08:00
}
header ul, header p.view {
position:static;
}
2020-06-16 20:25:20 +02:00
.linksection {
position: absolute;
2020-06-16 20:49:08 +02:00
top: 20px;
2020-10-16 00:41:25 +02:00
right: 20px;
2020-06-16 20:25:20 +02:00
}
div.linksection > ul > li {
2020-06-16 20:49:08 +02:00
margin-bottom: 3px;
2020-06-16 20:25:20 +02:00
}
.img, .img.screenshot {
max-width: 480px;
}
2020-10-28 21:43:50 +01:00
.newsfeed, .sponsor {
2020-10-18 22:25:53 +02:00
display: none;
}
2014-01-23 11:37:07 -08:00
}
2020-10-31 17:45:30 +01:00
@media print, screen and (max-width: 520px) {
2014-01-23 11:37:07 -08:00
2020-06-16 20:49:08 +02:00
div.linksection > ul > li {
margin-bottom: 1px;
2020-06-16 20:25:20 +02:00
}
2020-10-16 00:41:25 +02:00
.linksection {
position: absolute;
top: 20px;
right: 20px;
}
.img, .img.screenshot {
max-width: 400px;
}
2014-01-23 11:37:07 -08:00
}
2020-10-31 17:45:30 +01:00
@media print, screen and (max-width: 435px) {
2020-10-16 00:41:25 +02:00
header > h1.header,
header > p.header,
2020-10-31 17:45:30 +01:00
.sponsor {
2020-10-16 00:41:25 +02:00
display: none;
}
2020-10-31 17:45:30 +01:00
.img, .img.screenshot {
max-width: 300px;
}
2020-10-16 00:41:25 +02:00
header {
2020-10-31 17:45:30 +01:00
padding: 70px;
2020-10-16 00:41:25 +02:00
}
2020-10-31 17:45:30 +01:00
section {
2020-10-31 17:53:02 +01:00
padding-left: 5px;
padding-right: 5px;
}
2020-10-16 00:41:25 +02:00
}
2020-06-16 20:25:20 +02:00
2014-01-23 11:37:07 -08:00
@media print {
2020-10-16 00:41:25 +02:00
div.linksection {
margin-bottom: 0px;
position: relative;
left: 10150px;
top: -229px;
display: none;
}
2014-01-23 11:37:07 -08:00
body {
padding:0.4in;
font-size:12pt;
color:#444;
2020-10-16 00:41:25 +02:00
background-color: #fff;
2014-01-23 11:37:07 -08:00
}
2020-06-16 18:58:02 +02:00
}