@font-face { font-family: 'Compagnon'; src: url('Compagnon-Bold.woff2') format('woff2'), url('Compagnon-Bold.woff') format('woff'), ; font-weight: bold; font-style: normal; } @font-face { font-family: 'Compagnon'; src: url('Compagnon-Italic.woff') format('woff'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Compagnon'; src: url('Compagnon-Medium.woff') format('woff'); font-weight: medium; font-style: normal; } @font-face { font-family: 'Compagnon'; src: url('Compagnon-Light.woff') format('woff'); font-weight: light; font-style: normal; } @font-face { font-family: 'Compagnon'; src: url('Compagnon-Roman.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; } 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{ position: absolute; width: 100%; } /********************************************************/ /* SELECTION */ /********************************************************/ ::selection { background: magenta; /* WebKit/Blink Browsers */ } ::-moz-selection { background: magenta; /* Gecko Browsers */ } /********************************************************/ /* FIRST PAGE */ /********************************************************/ 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{ position: absolute; top:13em; width: 27em; -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; } #logobox a, #logobox a:visited{ color: black; } #logobox a:hover{ color: red; } #logobox h1{ font-size: 2em; line-height: 1.5; } nav{ float: right; } nav ul.menu { font-weight: bold; float: left; display: inline-block; text-align: right; } /********************************************************/ /* 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'; 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; } 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; }