evennia/stylesheets/styles.css

727 lines
10 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;
2021-03-06 00:51:47 +01:00
line-height: 1.5em;
2014-01-23 11:37:07 -08:00
}
/* 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;
}
2020-11-14 16:47:54 +01:00
.newsitem {
font-style: italic;
}
2020-10-17 16:37:00 +02:00
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;
2021-11-15 01:24:37 +01:00
line-height: 0.8em;
2014-01-23 11:37:07 -08:00
}
.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 {
2021-11-18 20:10:08 +01: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;
2021-11-18 20:10:08 +01:00
-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;
padding: 34px 25px 35px 50px;
margin: -10px 25px 0 0;
-webkit-font-smoothing: antialiased;
height: 94vh;
2020-10-17 16:37:00 +02:00
opacity: 0.8;
}
2014-01-23 11:37:07 -08:00
2021-11-18 20:10:08 +01:00
p.header {
font-size: 16px;
2014-01-23 11:37:07 -08:00
}
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
.loglink {
position: fixed;
margin-top: -35px;
margin-left: 124px;
scale: 80%;
}
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;
}
2021-11-14 23:04:10 +01:00
/* News feed */
2020-10-18 22:25:53 +02:00
.news-event {
margin-bottom: 7px;
font-size: 12px;
border-left: solid 1px;
padding-left: 8px;
line-height: 1.3em;
}
.events-fetch {
2021-11-14 23:04:10 +01:00
font-style: italic;
2020-10-18 22:25:53 +02:00
}
2020-10-28 22:28:29 +01:00
/* sponsor buttons */
2020-10-28 21:43:50 +01:00
.sponsor {
margin-left: -24px;
}
.patreon {
2021-03-06 00:09:21 +01:00
scale: 0.8;
2021-03-06 00:51:47 +01:00
opacity: 0.8;
2020-10-28 21:43:50 +01:00
}
.paypal {
2021-03-06 00:09:21 +01:00
scale: 0.8;
2021-03-06 00:51:47 +01:00
opacity: 0.8;
2020-10-28 21:43:50 +01:00
}
.sponsor-column {
2021-03-06 00:09:21 +01:00
float: right;
width: 15%;
2020-10-28 21:43:50 +01:00
padding: 2px;
}
2021-11-14 23:04:10 +01:00
/* Dev Blog */
a.devblog-headerlink {
visibility: hidden;
}
h1:hover > a.devblog-headerlink {
visibility: visible;
}
.devblog-title-date {
font-size: small;
}
2021-11-15 23:51:01 +01:00
.devblog-calendar-closed {
max-height: 0px;
visibility: hidden;
margin-bottom: 0.4em;
}
.devblog-calendar-open {
max-height: 21em;
margin-bottom: 0.4em;
}
.devblog-calendar-tooltip .devblog-calendar-tooltip-text {
visibility: hidden;
background-color: #8e8e8e;
color: #fff;
text-align: center;
padding: 5px 0;
margin-left: 3px;
2023-06-10 18:19:30 +02:00
margin-top: -3.5em;
2021-11-15 23:51:01 +01:00
border-radius: 6px;
position: absolute;
z-index: 1;
}
.devblog-calendar-tooltip:hover .devblog-calendar-tooltip-text {
visibility: visible;
2021-11-14 23:04:10 +01:00
}
a[href="devblog-posts"]:focus {
pointer-events: none;
}
.devblog-calendar-post {
2023-06-10 18:19:30 +02:00
list-style-position: inside;
list-style-type: circle;
2021-11-14 23:04:10 +01:00
}
2021-11-14 23:38:43 +01:00
.blog_post > * > img {
opacity: 1.0;
2021-11-15 01:24:37 +01:00
float:left;
margin-right:2em;
margin-bottom: 1em;
2021-11-14 23:38:43 +01:00
}
2021-11-15 01:24:37 +01:00
.blog_post > * > a > img {
2021-11-14 23:04:10 +01:00
opacity: 1.0;
2021-11-15 01:24:37 +01:00
float:left;
margin-right:2em;
margin-bottom: 1em;
2021-11-14 23:04:10 +01:00
}
2021-11-15 01:24:37 +01:00
.blog_post > ul {
2021-11-14 23:17:37 +01:00
list-style: inherit;
}
.blog_post > ul > li > p {
margin-bottom: 0.5em;
}
2021-11-14 23:38:43 +01:00
.blog_post > footer {
width: initial;
float: none;
}
2021-11-16 01:47:08 +01:00
.blog_post > .highlight > pre {
2021-11-16 15:15:03 +01:00
line-height: 0.5em!important;
2021-11-16 01:47:08 +01:00
}
2021-11-18 22:44:56 +01:00
.devblog-copyrights {
font-size: smaller;
font-style: italic;
}
.devblog-to-toplink {
float: right;
font-size: initial;
}
2021-11-20 14:59:37 +01:00
.devblog-rss {
float: right;
}
2021-11-15 01:24:37 +01:00
/* 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;
2021-11-16 15:15:03 +01:00
margin: 0;
2014-01-23 11:37:07 -08:00
}
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 {
2021-11-14 23:04:10 +01:00
margin-top: 0px;
}
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 {
2021-11-14 23:04:10 +01:00
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: 270px;
2020-10-28 21:43:50 +01:00
}
2020-10-28 22:28:29 +01:00
.buttonsidetext {
2021-11-14 23:04:10 +01:00
display: none;
2020-10-28 22:28:29 +01:00
}
2021-11-16 15:15:03 +01:00
.devblog-calendar > ul {
overflow: hidden;
max-width: 50%;
}
.devblog-calendar > ul > li {
float: left;
2021-11-18 20:10:08 +01:00
padding: 5px;
2021-11-16 15:15:03 +01:00
}
2021-11-18 20:10:08 +01:00
.devblog-calendar-open{
display: none;
}
.devblog-calendar-closed{
display: none;
2021-11-16 15:15:03 +01: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 {
2021-11-14 23:04:10 +01:00
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 {
2021-11-14 23:04:10 +01:00
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
2021-11-14 23:04:10 +01:00
/*header > h1.header,
2020-10-16 00:41:25 +02:00
header > p.header,
2020-10-31 17:45:30 +01:00
.sponsor {
2020-10-16 00:41:25 +02:00
display: none;
2020-11-15 17:51:19 +01:00
}*/
2020-10-16 00:41:25 +02:00
2020-10-31 17:45:30 +01:00
.img, .img.screenshot {
2021-11-14 23:04:10 +01:00
max-width: 300px;
2020-10-31 17:45:30 +01:00
}
2020-10-16 00:41:25 +02:00
header {
2021-11-14 23:04:10 +01:00
padding: 70px;
2020-10-16 00:41:25 +02:00
}
2020-10-31 17:45:30 +01:00
section {
2021-11-14 23:04:10 +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
}