PushingScores/static/css/main.css
2019-05-31 16:17:39 +01:00

414 lines
7.1 KiB
CSS

@font-face {
font-family: 'Compagnon Bold';
src: url('webfonts/Compagnon-Bold.woff2') format('woff2'),
url('webfonts/Compagnon-Bold.woff') format('woff') ;
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Compagnon Italic';
src: url('webfonts/Compagnon-Italic.woff2') format('woff2'),
url('webfonts/Compagnon-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Compagnon';
src: url('webfonts/Compagnon-Medium.woff2') format('woff2'),
url('webfonts/Compagnon-Medium.woff') format('woff');
font-weight: medium;
font-style: normal;
}
@font-face {
font-family: 'Compagnon Light';
src: url('webfonts/Compagnon-Light.woff2') format('woff2'),
url('webfonts/Compagnon-Light.woff') format('woff');
font-weight: light;
font-style: normal;
}
@font-face {
font-family: 'Compagnon Roman';
src: url('webfonts/Compagnon-Roman.woff') format('woff');
font-weight: normal;
font-style: roman;
}
@font-face {
font-family: 'Steps Thin Mono';
src: url('webfonts/steps-mono-thin-webfont.woff2') format('woff2'),
url('webfonts/steps-mono-thin-webfont.woff') format('woff');
font-weight: normal;
font-style: roman;
}
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
body{
/* background: #ffffff; */
color:black;
font-family: 'Montserrat', sans-serif;
top:0;
left: 0;
margin: 0;
}
h2,h3{
font-family: 'Steps Thin Mono';
}
a{
color: black;
}
.text a:visited{
color: red;
}
.text a:hover{
background: : red;
color: white;
}
div#wrapper{
width: 100%;
}
div#top{
position: relative;
background: white;
}
div#bottom{
padding-top: 4em;
position: absolute;
width: 100%;
}
/********************************************************/
/* SELECTION */
/********************************************************/
::selection {
background: magenta; /* WebKit/Blink Browsers */
}
::-moz-selection {
background: magenta; /* Gecko Browsers */
}
/********************************************************/
/* FIRST PAGE */
/********************************************************/
div.homecontent{
/* padding-top: 4em; */
}
div.home{
/* padding: 1em 5em 1em 7.5em; */
padding-left: 9em;
padding-top: 2em;
padding-bottom: 3em;
padding-right: 0.5em;
text-align: justify;
font-size: 1em;
}
div.home a{
}
div.home a:hover{
background: red;
color: white;
}
div.explanation{
font-size: 0.75em;
float: right;
padding-right: 0.75em;
font-style: italic;
}
/********************************************************/
/* NAVIGATION */
/********************************************************/
header{
/* border: lime 1px solid; */
padding-top: -1em;
padding-right: 10em;
position: absolute;
top:12em;
width: 29em;
-webkit-transform-origin: 0 50%;
-moz-transform-origin: 0 50%;
-ms-transform-origin: 0 50%;
-o-transform-origin: 0 50%;
transform-origin: 0 50%;
-webkit-transform: rotate(-90deg) translate(-50%, 50%);
-moz-transform: rotate(-90deg) translate(-50%, 50%);
-ms-transform: rotate(-90deg) translate(-50%, 50%);
-o-transform: rotate(-90deg) translate(-50%, 50%);
transform: rotate(-90deg) translate(-50%, 50%);
}
#logobox{
display: inline-block;
background: none;
padding-top: 0.5em;
}
#logobox a, #logobox a:visited{
color: black;
}
#logobox a:hover{
/* color: red; */
animation: blinker 0.05s linear infinite;
}
@keyframes blinker {
50% { opacity: 0; }
}
#logobox h1{
font-size: 3em;
/* line-height: 1.5; */
font-family: 'Steps Thin Mono';
/* font-family: 'Victorianna Thin'; */
margin-top: 0;
}
nav{
float: right;
text-transform: lowercase;
/* font-family: 'Montserrat', sans-serif; */
font-family: 'Steps Thin Mono';
/* font-family: 'Victorianna Thin'; */
}
nav ul.menu {
/* font-weight: bold; */
float: left;
display: inline-block;
text-align: right;
margin-top: 0.6em;
}
/********************************************************/
/* TEXT */
/********************************************************/
a{
text-decoration: none;
}
a:visited {
color:red;
}
ul{
list-style: none;
}
li a{
text-decoration: none;
color: #0000FF
}
li:hover a{
color: white;
background-color: red;
}
li{
padding-left: 5px;
padding-right: 5px;
}
li:hover {
background-color: red;
padding-left: 5px;
padding-right: 5px;
}
img{
max-width: 90%;
margin-bottom: 15px;
}
video{
max-width: 90%;
}
div{
margin:0 auto;
/* padding: 1em 2em 1em; */
}
/********************************************************/
/* THE CLICKED WORDS DISPLAYED */
/********************************************************/
#thewordpath{
font-family: 'Compagnon Light';
/* font-style: roman; */
display: block;
width: 100%;
top:0;
right: 0;
left: 0;
padding: 0;
margin: 0;
padding: 10px;
width: auto;
}
.word{
color:black;
}
/********************************************************/
/* THE CONTENT IN TWO COLUMNS */
/********************************************************/
.description{
width: 80%;
}
.text{
float: right;
width: 50%;
}
.item{
float: left;
width: 50%;
padding-top: 7.8%;
}
.column h2{
/* color: pink;
border:1px solid pink; */
}
.column a:hover{
color: white;
background-color: red;
}
/********************************************************/
/* NAVIGATION BAR AT THE BOTTOM OF DESCRIPTION*/
/********************************************************/
.index {
display: block;
}
nav.nav_bottom {
width: 100%;
margin: 0;
padding: 0;
height: auto;
bottom: 0px;
text-transform: uppercase;
font-size: 15px;
line-height: 18px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
list-style-type: none;
overflow: hidden;
position: fixed;
background: white;
padding-top: 10px;
padding-bottom: 10px;
}
nav.nav_bottom div li {
margin-right: 2em;
}
nav.nav_bottom div li a{
color: black
}
nav.nav_bottom div li a:hover{
color: red;
background-color: black;
}
nav.nav_bottom div li:first-child {
margin-right: 0;
}
li.index, li.about {
float: left;
margin-left: 10px;
}
li.prev_item, li.next_item, li.no_here {
float: right;
}
/********************************************************/
/* DIVERGE */
/********************************************************/
div.diverge_all{
padding: 1em 6.3em 1em;
}
div.diverge_all p{
font-weight: bold;
font-size: 1.3em;
font-family: 'Steps Thin Mono';
}
div.diverge_list {
/* width: 40%; */
}
div.diverge_list a{
}
span.folder-corner {
font-size: 0.8em;
font-style: italic;
}
/********************************************************/
/* ABOUT PAGE */
/********************************************************/
div.aboutpage{
padding: 1em 5em 1em 7.5em;
}
/********************************************************/
/* INDEX OF FOLDERS */
/********************************************************/
div.allcontentindex{
padding: 1em 5em 1em 7.5em;
}
.foldersindex{
width: 35%;
padding-top: 50px;
padding-bottom: 50px;
}
.foldersindex a{
color: black;
width: 80%;
height: 98%;
display: inline-block;
}
.foldersindex a:hover{
background-color: red;
color: white;
width: 100%;
display: inline-block;
}
h1.logo a {
text-transform: uppercase;
}