fel_website/themes/felicie/static/css/main.css
2020-05-16 19:58:00 +02:00

109 lines
1.7 KiB
CSS
Executable File

@font-face {
font-family: customFont;
src: url(fonts/cmu-typewriter/Typewriter/cmuntt.ttf);
}
@font-face {
font-family: customFont;
src: url(fonts/cmu-typewriter/Typewriter/cmuntb.ttf);
font-weight: bold;
}
@font-face {
font-family: customFont;
src: url(fonts/cmu-typewriter/Typewriter/cmunit.ttf);
font-style: italic;
}
*{
font-family: customFont;
background-color:#ccffff;
}
text{
font-size: 1.5em;
}
h1{
font-size: 2em;
font-weight: bold;
display: block;
}
h2{
font-style: italic;
display: block;
margin-left: auto;
margin-right: auto;
}
.sidebar{
font-size: 1.5em;
height: 100%;
width: 13%;
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
padding-top: 20px;
position: fixed;
border: solid;
border-width: 1px;
border-top: unset;
border-bottom: unset;
border-right-color: black;
background-color:#00b3b3;
}
a {
color: black;
text-decoration: unset;
background-color: inherit;
}
a:hover{
color: #808080;
}
#article-anchors {
padding: 1em;
background-color: inherit;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}
.content{
margin-left: 13%;
padding-left: 2em;
padding-bottom: 5em;
max-width: 50%;
line-height: 1.2;
font-size: 1.2em;
text-align: justify;
text-justify: inter-word;
}
.article-author {
color:#4d4d4d;
text-decoration: unset;
}
.article-author:before{
content:"_";
}
a:before{
color: #00e6e6;
content: '> ';
}
img{
max-width: 60%;
margin: 3em;
display: block;
}
.audio {
display: none;
}