MastodonHelp/web/site/css/theme.css

365 lines
6.6 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-color: #EEEEEE;
background-image: url('../imgs/mascotte_left.svg'), url('../imgs/mascotte_right.svg'), linear-gradient(#EEEEEE, #3088D4);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom left, bottom right, top left;
background-size: 29%, 30%, auto;
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;
margin: 1em 0 1em 0;
}
h1 {
text-transform: uppercase;
font-size: 28pt;
text-shadow: 2px 2px 4px black;
/* margin: 60pt;*/
}
/*h4, h5, h6 {
text-align: left;
}*/
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,1), rgba(182,213,240,1));
/*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,1), rgba(182,213,240,1));
color: white;
padding: 1px;
border-radius: 9pt;
}
.rfp, .fp, .p, p {
padding: 0;
margin: 0.75em 0 0 0;
}
.rfp {
margin: 0;
}
.p {
text-indent: 1em;
}
ul {
padding-left: 15pt;
margin: 0.75em 0 0 0;
}
ul li {
padding-left: 0;
}
a, .act {
color: #CC0000;
text-decoration: underline dotted;
text-underline-offset: 3px;
text-decoration-thickness: 1px;
}
a:hover, .act:hover {
text-decoration: underline;
}
.act:hover {
cursor: help;
}
a:active {
color: #FF0000;
}
#content {
width: 500pt;
margin-right: auto;
margin-left: auto;
text-align: left;/* era justify */
/* -webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;*/
z-index: 0;
}
#summlink {
position: fixed;
font-size: 12pt;
background-color: rgba(0,0,0,0.89);
color: #539CDD;
height: 24px;
width: 95pt;
text-align: center;
line-height: 21px;
top: 40px;
left: 0;
margin: 0;
padding: 0;
z-index: 1;
display: block;
border-radius: 0 0 5px 0;
/*transform-origin: bottom left;
transform: rotate(90deg);*/
}
#summlink:hover {
cursor: pointer;
text-decoration: underline;
background-color: rgba(0,0,0,0.78);
}
#summclose {
position: fixed;
width: 50px;
height: 45px;
background-color: rgba(0,0,0,0.89);
padding: 0 5px 0 5px;
border-radius: 0 0 5px 0;
top: 40px;
left: 300pt;
z-index: 2;
display: none;
}
#summclose:hover {
cursor: pointer;
}
#summcont {
background-color: rgba(0,0,0,0.89);
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;
overscroll-behavior: contain;
}
#summary a {
color: #539CDD;
}
#summary a:active {
color: #C0D9F2;
}
#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, .imagel {
display: block;
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;
padding: 0;
margin: 20pt auto 20pt auto;
}
.imagel {
margin-bottom: 0;
}
.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, .sectcontm {
text-align: left;/* era justify */
width: 500pt;
margin-left: auto;
margin-right: auto;
margin-bottom: 0;
margin-top: 40px;
}
.sectcontm {
position: relative;
margin-top: 60px;
margin-bottom: 20px;
}
.magt {
color: #0000DD;
}
.sep {
font-size: 8pt;
line-height: 8pt;
width: 100%;
height: 1em;
}
#transd {
position: fixed;
bottom: 10px;
right: 10px;
width: 166px;
border-radius: 6px;
background-color: rgba(0,0,0,0.89);
color: white;
text-align: center;
font-size: 10pt;
padding: 2px 6px 4px 6px;
z-index: 4;
}
#transd a {
color: #81d5ff;
}
.transc {
color: #81d5ff;
cursor: pointer;
}
.transc:hover {
text-decoration: underline;
}
.invisible {
display: none;
}
@media only screen and (max-width:540pt) {
body {
background-color: white;
background-image: none;
}
#content, .sectcont, .sectcontm {
width: 100%;
max-width: 100%;
text-align: left;
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
.sectcont, .sectcontm {
padding: 20pt;
}
section {
padding: 0pt;
margin-bottom: 30pt;
box-shadow: none;
border-radius: 0;
}
#summlink {
transform-origin: bottom left;
transform: rotate(90deg) translateX(-24px);
border-radius: 0 5px 0 0;
}
}
@media only screen and (max-width:400pt) {
#summcont, .image {
width: 100%;
}
#summlink {
width: 60pt;
font-size: 12pt;
line-height: 14pt;
height: 16pt;
transform-origin: bottom left;
transform: rotate(90deg) translateX(-16pt);
border-radius: 0 5px 0 0;
}
#summclose {
background-color: transparent;
top: 45px;
left: auto;
right: 5px;
}
}