MastodonHelp/web/theme.css

313 lines
5.6 KiB
CSS
Raw Normal View History

2019-12-01 09:07:45 +01:00
@font-face {
font-family: 'Titillium';
src: url('fonts/titillium-regular-webfont.woff') format('woff');
font-style: normal;
font-weight: 300;
}
@font-face {
font-family: 'Titillium';
src: url('fonts/titillium-regularitalic-webfont.woff') format('woff');
font-style: italic;
font-weight: 300;
}
@font-face {
font-family: 'Titillium';
src: url('fonts/titillium-bold-webfont.woff') format('woff');
font-style: normal;
font-weight: 700;
}
@font-face {
font-family: 'Titillium';
src: url('fonts/titillium-bolditalic-webfont.woff') format('woff');
font-style: italic;
font-weight: 700;
}
strong {
font-weight: bold;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-image: url('imgs/mascotte_left_mod.png'), url('imgs/mascotte_right.png'), linear-gradient(#eeeeee, #3088d4);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom left, bottom right, top left;
background-size: 338px, 372px, auto;
background-color: #eeeeee;
color: black;
/* font-family: Roboto-slab, serif;*/
font-family: Titillium, sans;
font-size: 16pt;
font-weight: 300;
margin: 0;
padding: 20pt;
2019-12-02 20:16:26 +01:00
padding-top: 50pt;
2019-12-01 09:07:45 +01:00
/* padding-bottom: 540px;*/
}
h1,h2,h3,h4,h5,h6 {
font-family: Titillium, sans;
font-weight: 700;
text-align: center;
}
h1 {
text-transform: uppercase;
font-size: 28pt;
text-shadow: 2px 2px 4px black;
/* margin: 60pt;*/
}
section, #header {
background-color: rgba(255,255,255,0.92);
padding: 20pt;
padding-bottom: 2pt;
padding-top: 2pt;
margin-bottom: 20pt;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 9pt;
}
#header {
color: white;
background-image: url('imgs/elephant_throwing_cs_logo.png'), linear-gradient(rgba(117,175,227,0.7), rgba(182,213,240,0.7));
background-repeat: no-repeat;
background-position: bottom left;
background-size: 200px, 500pt;
padding-bottom: 10px;
padding-top: 10px;
}
.lev1sect {
font-variant: small-caps;
text-shadow: 2px 2px 4px black;
margin-top: 40pt;
background-image: linear-gradient(rgba(117,175,227,0.7), rgba(182,213,240,0.7));
/*background-image: linear-gradient(rgba(0,0,0,0.7), rgba(100,100,100,0.7));*/
color: white;
padding: 1px;
border-radius: 9pt;
}
.lev1summ {
font-variant: small-caps;
font-weight: bold;
}
ul {
padding-left: 20pt;
}
ul li {
padding-left: 0;
}
a {
color: #CC0000;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
color: #FF0000;
}
#content {
width: 500pt;
margin-right: auto;
margin-left: auto;
text-align: justify;
/* -webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;*/
z-index: 0;
}
#hmenu {
font-family: Titillium, sans;
font-size: 14pt;
2019-12-02 20:16:26 +01:00
background-color: rgba(0,0,0,0.85);
2019-12-01 09:07:45 +01:00
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 40px;
margin: 0;
padding: 0;
2019-12-02 20:16:26 +01:00
/*padding-left: 40px;*/
2019-12-01 09:07:45 +01:00
z-index: 2;
2019-12-02 20:16:26 +01:00
/*display: none;*/
2019-12-01 09:07:45 +01:00
}
#hmenu ul {
list-style-type: none;
margin: 0;
padding: 0;
2019-12-02 20:16:26 +01:00
overflow: visible;
2019-12-01 09:07:45 +01:00
}
2019-12-02 20:16:26 +01:00
#hmenu ul li {
2019-12-01 09:07:45 +01:00
width: 80pt;
height: 40px;
text-align: center;
display: table-cell;
vertical-align: middle;
2019-12-02 20:16:26 +01:00
color: #3088D4;
}
#hmenu ul li:hover {
background-color: rgba(255,255,255,0.10);
cursor: pointer;
}
#hmenu .hil {
background-color: rgba(255,255,255,0.10);
color: #97C3E9;
}
#hmenu .hil:hover {
cursor: default;
}
#hmenu ul li a {
color: #3088D4;
}
#hmenu .ula {
position: absolute;
top: 40px;
background-color: rgba(0,0,0,0.85);
display: none;
2019-12-01 09:07:45 +01:00
}
2019-12-02 20:16:26 +01:00
#hmenu .ulb {
background-color: rgba(0,0,0,0.85);
left: 80pt;
position: relative;
top: -40px;
display: none;
}
#hmenu .ula li, .ulb li {
width: 80pt;
display: block;
float: none;
text-align: center;
height: 40px;
line-height: 40px;
vertical-align: middle;
2019-12-01 09:07:45 +01:00
}
2019-12-02 20:16:26 +01:00
#summicon {
2019-12-01 09:07:45 +01:00
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0;
z-index: 2;
2019-12-02 20:16:26 +01:00
display: none;
2019-12-01 09:07:45 +01:00
}
2019-12-02 20:16:26 +01:00
#summicon:hover {
2019-12-01 09:07:45 +01:00
cursor: pointer;
}
#summcont {
background-color: rgba(0,0,0,0.85);
position: fixed;
width: 200pt;
2019-12-02 20:16:26 +01:00
height: calc(100% - 40px);
top: 40px;
2019-12-01 09:07:45 +01:00
left: 0;
margin: 0;
padding: 0;
display: none;
z-index: 1;
}
#summary {
font-family: Titillium, sans;
font-size: 14pt;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
padding-right: 5pt;
overflow: auto;
}
#summary a {
color: #3088D4;
}
#summary a:active {
color: #97C3E9;
}
#summary ol {
margin: 0;
margin-left: 30px;
padding: 0;
counter-reset: item;
}
#summary ol li {
display: block;
position: relative;
color: white;
}
#summary ol li:before {
content: counters(item, '.') ':';
counter-increment: item;
position: absolute;
margin-right: 100%;
right: 5px; /* space between number and text */
}
.image {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
/* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);*/
border-radius: 9pt;
}
2019-12-02 20:16:26 +01:00
.anchor {
position: relative;
top: -80px;
display: block;
visibility: hidden;
}
.scrwide {
position: absolute;
display: table;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.scrwidein {
display: table-cell;
vertical-align: middle;
}
.sectcont {
text-align: justify;
width: 500pt;
margin-left: auto;
margin-right: auto;
margin-bottom: 0;
margin-top: 40px;
}
2019-12-01 09:07:45 +01:00
@media only screen and (max-width:540pt) {
body {
background-color: white;
background-image: none;
}
2019-12-02 20:16:26 +01:00
#content, .sectcont {
2019-12-01 09:07:45 +01:00
width: 100%;
}
2019-12-02 20:16:26 +01:00
.sectcont {
padding: 20pt;
}
2019-12-01 09:07:45 +01:00
#content {
text-align: left;
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
section {
padding: 0pt;
margin-bottom: 30pt;
box-shadow: none;
border-radius: 0;
}
}
2019-12-02 20:16:26 +01:00
@media only screen and (max-width:400pt) {
2019-12-01 09:07:45 +01:00
#summcont, .image {
width: 100%;
}
2019-12-02 20:16:26 +01:00
#hmenu {
font-size: 12pt;
}
/*#hmenu li, .ula li, .ulb li {
width: 60pt;
}*/
2019-12-01 09:07:45 +01:00
}