MastodonHelp/web/site/css/theme.css

366 lines
6.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-color: #EEEEEE;
background-image: url('../imgs/mascotte_left.svg'), url('../imgs/mascotte_right.svg'), linear-gradient(#EEEEEE, #3088D4);
2019-12-01 09:07:45 +01:00
background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom left, bottom right, top left;
background-size: 29%, 30%, auto;
2019-12-01 09:07:45 +01:00
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;
margin: 1em 0 1em 0;
2019-12-01 09:07:45 +01:00
}
h1 {
text-transform: uppercase;
font-size: 28pt;
text-shadow: 2px 2px 4px black;
/* margin: 60pt;*/
}
2023-11-02 23:37:34 +01:00
/*h4, h5, h6 {
2022-12-08 14:52:59 +01:00
text-align: left;
2023-11-02 23:37:34 +01:00
}*/
2019-12-01 09:07:45 +01:00
section, #header {
background-color: rgba(255,255,255,0.92);
padding: 20pt;
/*padding-bottom: 2pt;*/
2019-12-01 09:07:45 +01:00
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;
2019-12-01 09:07:45 +01:00
padding-bottom: 10px;
padding-top: 10px;
}
.lev1sect {
font-variant: small-caps;
text-shadow: 2px 2px 4px black;
margin-top: 40pt;
2020-10-13 08:21:26 +02:00
background-image: linear-gradient(rgba(117,175,227,1), rgba(182,213,240,1));
2019-12-01 09:07:45 +01:00
color: white;
padding: 1px;
border-radius: 9pt;
}
2023-11-02 23:37:34 +01:00
.rfp, .fp, .p, p {
padding: 0;
margin: 0.75em 0 0 0;
}
.rfp {
margin: 0;
}
.p {
text-indent: 1em;
}
2019-12-01 09:07:45 +01:00
ul {
2019-12-03 21:35:02 +01:00
padding-left: 15pt;
2023-11-02 23:37:34 +01:00
margin: 0.75em 0 0 0;
2019-12-01 09:07:45 +01:00
}
ul li {
padding-left: 0;
}
2022-12-30 09:15:11 +01:00
a, .act {
2019-12-01 09:07:45 +01:00
color: #CC0000;
2022-12-08 21:12:41 +01:00
text-decoration: underline dotted;
text-underline-offset: 3px;
text-decoration-thickness: 1px;
2019-12-01 09:07:45 +01:00
}
2022-12-30 09:15:11 +01:00
a:hover, .act:hover {
2019-12-01 09:07:45 +01:00
text-decoration: underline;
}
2022-12-30 09:15:11 +01:00
.act:hover {
cursor: help;
}
2019-12-01 09:07:45 +01:00
a:active {
color: #FF0000;
}
#content {
width: 500pt;
margin-right: auto;
margin-left: auto;
2020-10-27 16:32:23 +01:00
text-align: left;/* era justify */
2019-12-01 09:07:45 +01:00
/* -webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;*/
z-index: 0;
}
2020-10-13 08:21:26 +02:00
#summlink {
2019-12-01 09:07:45 +01:00
position: fixed;
2020-10-13 08:21:26 +02:00
font-size: 12pt;
background-color: rgba(0,0,0,0.89);
color: #539CDD;
2020-10-13 08:21:26 +02:00
height: 24px;
width: 95pt;
2020-10-13 08:21:26 +02:00
text-align: center;
line-height: 21px;
top: 40px;
2019-12-01 09:07:45 +01:00
left: 0;
margin: 0;
padding: 0;
2020-10-13 08:21:26 +02:00
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);
2020-10-13 08:21:26 +02:00
}
#summclose {
position: fixed;
width: 50px;
height: 45px;
background-color: rgba(0,0,0,0.89);
2020-10-13 08:21:26 +02:00
padding: 0 5px 0 5px;
border-radius: 0 0 5px 0;
top: 40px;
left: 300pt;
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
}
2020-10-13 08:21:26 +02:00
#summclose:hover {
2019-12-01 09:07:45 +01:00
cursor: pointer;
}
#summcont {
background-color: rgba(0,0,0,0.89);
2019-12-01 09:07:45 +01:00
position: fixed;
2019-12-15 17:06:02 +01:00
width: 300pt;
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;
overscroll-behavior: contain;
2019-12-01 09:07:45 +01:00
}
#summary a {
color: #539CDD;
2019-12-01 09:07:45 +01:00
}
#summary a:active {
color: #C0D9F2;
2019-12-01 09:07:45 +01:00
}
#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 */
}
2019-12-10 21:14:45 +01:00
.lev1summ, .prili {
margin-top: 10pt;
}
.lev1summ a {
font-variant: small-caps;
font-weight: bold;
}
.lev2summ a {
font-variant: normal;
font-weight: normal;
}
.image, .imagel {
2019-12-01 09:07:45 +01:00
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;
2019-12-01 09:07:45 +01:00
}
2019-12-10 21:14:45 +01:00
.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;*/
}
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;
}
2020-10-13 08:21:26 +02:00
.sectcont, .sectcontm {
2020-10-27 16:32:23 +01:00
text-align: left;/* era justify */
2019-12-02 20:16:26 +01:00
width: 500pt;
margin-left: auto;
margin-right: auto;
margin-bottom: 0;
margin-top: 40px;
}
2020-10-13 08:21:26 +02:00
.sectcontm {
2020-10-22 17:54:05 +02:00
position: relative;
2020-10-13 08:21:26 +02:00
margin-top: 60px;
margin-bottom: 20px;
}
2020-10-27 18:00:46 +01:00
.magt {
2020-10-29 19:04:04 +01:00
color: #0000DD;
2020-10-27 18:00:46 +01:00
}
2023-12-25 13:40:38 +01:00
.sep {
font-size: 8pt;
line-height: 8pt;
width: 100%;
height: 1em;
}
2020-10-27 16:32:23 +01:00
#transd {
2020-04-13 18:43:00 +02:00
position: fixed;
bottom: 10px;
right: 10px;
width: 166px;
border-radius: 6px;
background-color: rgba(0,0,0,0.89);
2020-04-13 18:43:00 +02:00
color: white;
text-align: center;
font-size: 10pt;
padding: 2px 6px 4px 6px;
2020-10-27 16:32:23 +01:00
z-index: 4;
2020-04-13 18:43:00 +02:00
}
2020-10-27 16:32:23 +01:00
#transd a {
2020-04-13 18:43:00 +02:00
color: #81d5ff;
}
2020-10-27 16:32:23 +01:00
.transc {
color: #81d5ff;
cursor: pointer;
}
.transc:hover {
text-decoration: underline;
}
.invisible {
display: none;
}
2019-12-01 09:07:45 +01:00
@media only screen and (max-width:540pt) {
body {
background-color: white;
background-image: none;
}
2020-10-13 08:21:26 +02:00
#content, .sectcont, .sectcontm {
2019-12-01 09:07:45 +01:00
width: 100%;
max-width: 100%;
2019-12-01 09:07:45 +01:00
text-align: left;
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
2020-10-15 09:59:36 +02:00
.sectcont, .sectcontm {
padding: 20pt;
}
2019-12-01 09:07:45 +01:00
section {
padding: 0pt;
margin-bottom: 30pt;
box-shadow: none;
border-radius: 0;
}
2020-10-13 08:21:26 +02:00
#summlink {
transform-origin: bottom left;
transform: rotate(90deg) translateX(-24px);
border-radius: 0 5px 0 0;
}
2019-12-01 09:07:45 +01:00
}
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%;
}
2020-10-13 08:21:26 +02:00
#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;
}
2019-12-01 09:07:45 +01:00
}