MastodonStartpage/web/theme.css
pezcurrel 353ad24504 ...
2019-12-15 17:06:02 +01:00

339 lines
6.2 KiB
CSS

@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;
padding-top: 50pt;
/* 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;
}
ul {
padding-left: 15pt;
}
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;
background-color: rgba(0,0,0,0.85);
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 40px;
margin: 0;
padding: 0;
/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);*/
/*padding-left: 40px;*/
z-index: 2;
/*display: none;*/
}
#hmenu ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: visible;
}
#hmenu ul li {
width: 80pt;
height: 40px;
text-align: center;
display: table-cell;
vertical-align: middle;
color: #3088D4;
}
#hmenu ul li:hover {
background-color: rgba(255,255,255,0.10);
cursor: default;
}
#hmenu ul li a {
width: 80pt;
line-height: 40px;
display: block;
color: #3088D4;
}
#hmenu .ula {
position: absolute;
top: 40px;
background-color: rgba(0,0,0,0.85);
display: none;
}
#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;
height: 40px;
display: block;
float: none;
text-align: center;
line-height: 40px;
vertical-align: middle;
}
#hmenu .ula li:hover, .ulb li:hover {
text-decoration: underline;
}
#hmenu .hil {
background-color: rgba(255,255,255,0.10);
color: #97C3E9;
}
#hmenu .hil:hover {
cursor: default;
text-decoration: none;
}
#hmenu .ula li.hil:hover, .ulb li.hil:hover {
text-decoration: none;
}
#summicon {
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0;
z-index: 2;
display: none;
}
#summicon:hover {
cursor: pointer;
}
#summcont {
background-color: rgba(0,0,0,0.85);
position: fixed;
width: 300pt;
height: calc(100% - 40px);
top: 40px;
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 */
}
.lev1summ, .prili {
margin-top: 10pt;
}
.lev1summ a {
font-variant: small-caps;
font-weight: bold;
}
.lev2summ a {
font-variant: normal;
font-weight: normal;
}
.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;
}
.imager {
display: block;
float: right;
margin: 0;
margin-left: 10pt;
margin-top: 5pt;
/* 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;*/
}
.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;
}
@media only screen and (max-width:540pt) {
body {
background-color: white;
background-image: none;
}
#content, .sectcont {
width: 100%;
}
.sectcont {
padding: 20pt;
}
#content, .sectcont {
text-align: left;
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
section {
padding: 0pt;
margin-bottom: 30pt;
box-shadow: none;
border-radius: 0;
}
}
@media only screen and (max-width:400pt) {
#summcont, .image {
width: 100%;
}
#hmenu {
font-size: 12pt;
}
/*#hmenu li, .ula li, .ulb li {
width: 60pt;
}*/
}