From 29d052164439a772ffcfdf0f7c917aad7a5923aa Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 2 Jun 2022 20:54:13 +0200 Subject: Fix images for txt --- assets/css/screen.css | 2 +- assets/scss/_main.scss | 3 +- assets/scss/_txt.scss | 4 ++ assets/scss/screen.scss | 105 +++++++++++++++++++++++++++--------------------- 4 files changed, 66 insertions(+), 48 deletions(-) (limited to 'assets') diff --git a/assets/css/screen.css b/assets/css/screen.css index 115933d..b1636ea 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -1 +1 @@ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.container{position:relative;width:100%;max-width:960px;margin:0 auto;padding:0 20px;box-sizing:border-box}.column,.columns{width:100%;float:left;box-sizing:border-box}@media (min-width: 400px){.container{width:85%;padding:0}}@media (min-width: 550px){.container{width:80%}.column,.columns{margin-left:4%}.column:first-child,.columns:first-child{margin-left:0}.one.column,.one.columns{width:4.66666666667%}.two.columns{width:13.3333333333%}.three.columns{width:22%}.four.columns{width:30.6666666667%}.five.columns{width:39.3333333333%}.six.columns{width:48%}.seven.columns{width:56.6666666667%}.eight.columns{width:65.3333333333%}.nine.columns{width:74.0%}.ten.columns{width:82.6666666667%}.eleven.columns{width:91.3333333333%}.twelve.columns{width:100%;margin-left:0}.one-third.column{width:30.6666666667%}.two-thirds.column{width:65.3333333333%}.one-half.column{width:48%}.offset-by-one.column,.offset-by-one.columns{margin-left:8.66666666667%}.offset-by-two.column,.offset-by-two.columns{margin-left:17.3333333333%}.offset-by-three.column,.offset-by-three.columns{margin-left:26%}.offset-by-four.column,.offset-by-four.columns{margin-left:34.6666666667%}.offset-by-five.column,.offset-by-five.columns{margin-left:43.3333333333%}.offset-by-six.column,.offset-by-six.columns{margin-left:52%}.offset-by-seven.column,.offset-by-seven.columns{margin-left:60.6666666667%}.offset-by-eight.column,.offset-by-eight.columns{margin-left:69.3333333333%}.offset-by-nine.column,.offset-by-nine.columns{margin-left:78.0%}.offset-by-ten.column,.offset-by-ten.columns{margin-left:86.6666666667%}.offset-by-eleven.column,.offset-by-eleven.columns{margin-left:95.3333333333%}.offset-by-one-third.column,.offset-by-one-third.columns{margin-left:34.6666666667%}.offset-by-two-thirds.column,.offset-by-two-thirds.columns{margin-left:69.3333333333%}.offset-by-one-half.column,.offset-by-one-half.columns{margin-left:52%}}html{font-size:62.5%}body{font-size:1.5em;line-height:1.6;font-weight:400;font-family:'Open Sans', open-sans, Lato, 'Fira Sans', Helvetica, Arial, sans-serif;color:#222}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300}h1{font-size:4.0rem;line-height:1.2;letter-spacing:-.1rem}h2{font-size:3.6rem;line-height:1.25;letter-spacing:-.1rem}h3{font-size:3.0rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;line-height:1.6;letter-spacing:0}@media (min-width: 550px){h1{font-size:5.0rem}h2{font-size:4.2rem}h3{font-size:3.6rem}h4{font-size:3.0rem}h5{font-size:2.4rem}h6{font-size:1.5rem}}p{margin-top:0}a{color:#1EAEDB}a:hover{color:#0FA0CE}.button,button,input[type="submit"],input[type="reset"],input[type="button"]{display:inline-block;height:3.8rem;padding:0 2rem;color:#555;text-align:center;font-size:1.1rem;font-weight:600;line-height:3.8rem;letter-spacing:.1rem;text-transform:uppercase;text-decoration:none;white-space:nowrap;background-color:transparent;border-radius:0.4rem;border:1px solid #bbb;cursor:pointer;box-sizing:border-box}.button:hover,button:hover,input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover,.button:focus,button:focus,input[type="submit"]:focus,input[type="reset"]:focus,input[type="button"]:focus{color:#333;border-color:#888;outline:0}.button.button-primary,button.button-primary,input[type="submit"].button-primary,input[type="reset"].button-primary,input[type="button"].button-primary{color:#FFF;background-color:#33C3F0;border-color:#33C3F0}.button.button-primary:hover,button.button-primary:hover,input[type="submit"].button-primary:hover,input[type="reset"].button-primary:hover,input[type="button"].button-primary:hover,.button.button-primary:focus,button.button-primary:focus,input[type="submit"].button-primary:focus,input[type="reset"].button-primary:focus,input[type="button"].button-primary:focus{color:#FFF;background-color:#1EAEDB;border-color:#1EAEDB}input[type="email"],input[type="number"],input[type="search"],input[type="text"],input[type="tel"],input[type="url"],input[type="password"],textarea,select{height:38px;padding:6px 10px;background-color:#fff;border:1px solid #D1D1D1;border-radius:4px;box-shadow:none;box-sizing:border-box}input[type="email"],input[type="number"],input[type="search"],input[type="text"],input[type="tel"],input[type="url"],input[type="password"],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}textarea{min-height:65px;padding-top:6px;padding-bottom:6px}input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="text"]:focus,input[type="tel"]:focus,input[type="url"]:focus,input[type="password"]:focus,textarea:focus,select:focus{border:1px solid #33C3F0;outline:0}label,legend{display:block;margin-bottom:.5rem;font-weight:600}fieldset{padding:0;border-width:0}input[type="checkbox"],input[type="radio"]{display:inline}label>.label-body{display:inline-block;margin-left:.5rem;font-weight:normal}ul{list-style:circle outside}ol{list-style:decimal inside}ol,ul{padding-left:0;margin-top:0}ul ul,ul ol,ol ol,ol ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}li{margin-bottom:0.25rem}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}th,td{padding:12px 15px;text-align:left;border-bottom:1px solid #E1E1E1}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}button,.button{margin-bottom:1rem}input,textarea,select,fieldset{margin-bottom:1.5rem}pre,blockquote,dl,figure,table,p,ul,ol,form{margin-bottom:2.5rem}.u-full-width{width:100%;box-sizing:border-box}.u-max-full-width{max-width:100%;box-sizing:border-box}.u-pull-right{float:right}.u-pull-left{float:left}hr{margin-top:3rem;margin-bottom:3.5rem;border-width:0;border-top:1px solid #E1E1E1}.container:after,.row:after,.u-cf{content:"";display:table;clear:both}h1,h2,h3,h4,h5,h6{font-family:"Cormorant Garamond",serif;font-weight:600}h1 a,h1 a:hover,h1 a:focus,h1 a:link,h1 a:visited,h2 a,h2 a:hover,h2 a:focus,h2 a:link,h2 a:visited,h3 a,h3 a:hover,h3 a:focus,h3 a:link,h3 a:visited,h4 a,h4 a:hover,h4 a:focus,h4 a:link,h4 a:visited,h5 a,h5 a:hover,h5 a:focus,h5 a:link,h5 a:visited,h6 a,h6 a:hover,h6 a:focus,h6 a:link,h6 a:visited{text-decoration:none;color:inherit}h1 a:active,h2 a:active,h3 a:active,h4 a:active,h5 a:active,h6 a:active{text-decoration:underline;color:#f0f0f2}body.ps>header{position:fixed;z-index:999;top:0;left:0;right:0;background:#7c7692;padding:0 2rem;color:#f0f0f2}body.ps>header h1{margin:0 auto}body.ps>header h1:before{background:url(../assets/img/logo-ps.svg) center left/5rem no-repeat;display:block;width:5rem;height:5rem}body.ps>header h2{font-weight:100;margin-top:-2.6rem;font-size:3.7rem;transform:rotate(180deg)}body.ps>header p{font-family:"Cormorant Garamond",serif;font-size:2rem;font-style:italic;margin:-3.8rem 0 0 0;padding:0 0 0.4rem 0.3rem}body.ps>header p span{color:black}body.ps.home>header{background-color:#6d4e80;top:unset;right:5vw;bottom:-2vh;left:5vw;padding:1rem;font-size:1.2rem;color:rgba(255,255,255,0.85);overflow:auto;transform:rotate(-2.7deg) translateY(4.5vh) skewX(-5deg)}body.ps.home>header h1{font-size:7vh;text-align:center;transform:rotate(1.5deg) translateX(5vh) translateY(-1vh)}body.ps.home>header h1 img{display:none;vertical-align:-1.6rem}body.ps.home>header section{display:none;max-width:42rem;margin:0 auto;padding-bottom:7rem}body.ps.home>header footer{background-color:#6d4e80;display:none;font-size:1rem;z-index:999;position:fixed;bottom:0;left:0;right:0;display:none}body.ps.home>header footer>h4{display:inline-block}body.ps.home>header footer>nav{display:none}body.ps.home>header footer>p{display:none;max-width:42rem;margin:0 auto;padding-bottom:7rem}body.ps.home>header:hover{top:5vh}body.ps.home>header:hover h1{font-size:2.6rem;transform:rotate(2.7deg) translate(0, 0) skewX(0)}body.ps.home>header:hover img{display:inline-block}body.ps.home>header:hover section,body.ps.home>header:hover footer{display:block;width:80vw;margin:0 auto;padding-bottom:3rem}body>main{position:relative;top:0rem;right:0;left:0;font-size:1.6rem;margin:0 auto;max-width:96rem}body>main>article{background-color:#f0f0f2;margin:0 auto;max-width:60rem;min-height:calc(100vh - 24rem);height:auto;padding:12rem 9rem}article>header p{font-size:2rem;line-height:1.25;font-family:"Cormorant Garamond",serif;text-variant:italic;padding:0rem 4rem;text-align:justify}article>header p:last-child{padding-bottom:2rem}article section:after{display:table;content:"";clear:both;margin-bottom:2rem}article aside ul{display:table;position:relative;list-style:none;margin:0 -8rem 1rem -8rem;width:calc(100% + 16rem)}article aside ul li{display:table-cell;text-align:center}article aside ul img{display:block;background-color:black;width:16rem;height:9rem;margin:1rem auto}article .intro{background-color:rgba(255,255,255,0.1);box-shadow:1px 2px 3px rgba(0,0,0,0.5);height:auto;max-height:2rem;margin:2rem;padding:2rem;overflow:hidden;text-overflow:ellipsis}article .intro p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}article .intro:hover{max-height:100vh}article .intro:hover p{white-space:normal;overflow:auto}article .outro p{font-size:2rem;text-align:justify}article video,article iframe{max-width:100%}article .video{margin:0 -6rem 0 -4rem}article .video video{width:30rem;height:18.875rem;background:black;float:left;margin:0 2rem 0 -4rem}article .video p{line-height:1.25}article .video:hover video,article .video:hover iframe{width:68rem;height:38.25rem;float:none;margin:auto}section h2+h3{font-size:2.5rem;font-style:italic;margin-top:-2rem}article #intro h2{transform:rotate(270deg) translate(13.6rem, -34rem)}span.note{font-size:smaller;padding-left:1rem;display:none}:hover+span.note{display:inline}#lang-switch{background-color:rgba(240,240,242,0.3)}body>aside{position:fixed;top:calc(50% - 150px);height:300px;background:black url(../img/aside-off.png) center right no-repeat;left:-20rem;width:20rem;padding:1rem}body>aside:hover,body>aside:focus{left:0;background:#f0f0f2 url(../img/aside-on.png) center left no-repeat;box-shadow:1px 2px 2px 1px rgba(0,0,0,0.4);width:auto;border-right:2rem solid black;padding:0}body>aside:hover nav,body>aside:focus nav{display:block;background:#f0f0f2 url(../img/aside-on.png) center left no-repeat;height:100%}body>aside:hover nav h3 a:link,body>aside:hover nav h3 a:hover,body>aside:hover nav h3 a:active,body>aside:hover nav h3 a:visited,body>aside:focus nav h3 a:link,body>aside:focus nav h3 a:hover,body>aside:focus nav h3 a:active,body>aside:focus nav h3 a:visited{color:transparent}body>aside:hover ul li:hover a:hover,body>aside:focus ul li:hover a:hover{text-decoration:none}body>aside:hover ul li:hover span,body>aside:focus ul li:hover span{display:block}body>aside:hover ul li:hover:first-child,body>aside:focus ul li:hover:first-child{transform:scale(1.4) rotate(4deg) translateX(-0.75vw)}body>aside:hover ul li:hover:first-child a,body>aside:focus ul li:hover:first-child a{transform:rotate(-4deg)}body>aside:hover ul li:hover:nth-child(2),body>aside:focus ul li:hover:nth-child(2){transform:scale(1.4) rotate(-6deg) translateX(-0.5vw)}body>aside:hover ul li:hover:nth-child(2) a,body>aside:focus ul li:hover:nth-child(2) a{transform:rotate(6deg)}body>aside:hover ul li:hover:last-child,body>aside:focus ul li:hover:last-child{transform:scale(1.4) rotate(5deg) translateX(-0.5vw)}body>aside:hover ul li:hover:last-child a,body>aside:focus ul li:hover:last-child a{transform:rotate(-5deg)}body>aside nav{position:relative;margin-left:3rem;display:none;line-height:30rem}body>aside nav h3{display:inline-block;background:url(../img/logo-ps.svg) 3rem center/10rem fixed no-repeat;width:10rem;height:100%;vertical-align:top;color:transparent}body>aside nav h3 a{display:block;height:100%;width:100%;line-height:30rem;color:transparent}body>aside nav h3 a:hover{color:transparent}body>aside nav ul{list-style:none;display:inline-block;height:100%}body>aside nav ul li{display:block;padding:0 2rem;font-size:3rem;float:left;padding-left:1rem;z-index:400;overflow:hidden;width:10rem;height:100%}body>aside nav ul li a{color:black;text-decoration:none;display:block;height:100%;width:100%;z-index:404}body>aside nav ul li a:link,body>aside nav ul li a:visited{color:inherit}body>aside nav ul li a:hover{font-size:200%;color:inherit;z-index:404}body>aside nav ul li span{display:none;z-index:400;position:relative;font-size:1.25rem;line-height:1.6rem;text-align:center;margin:-3rem -2rem 0 -1rem}body>aside nav ul li:first-child{background:rgba(191,138,112,0.7)}body>aside nav ul li:nth-child(2){background:rgba(166,191,112,0.9)}body>aside nav ul li:last-child{background:rgba(109,144,162,0.7)}body>footer{position:relative;left:0;right:0;font-size:smaller;margin:5rem auto 2rem auto;width:80vw;max-width:60rem;font-size:1.15rem}body>footer h4{margin:0;font-size:1.6rem}body>footer h4 a{text-decoration:none}body>footer a{white-space:nowrap}body>footer:hover>p>span:first-child{display:inline-block;color:transparent;line-height:0}body>footer:hover>p>span:first-child:before{content:'Copyleft';display:block;color:black;padding-right:0.4rem}body>footer:hover>p>span+span{display:inline-block;transform:rotate(180deg);padding-bottom:-0.07rem}body>footer:hover>p>span:first-child+span{display:inline-block;transform:rotate(180deg) translateY(0.1rem)}footer>nav ul{display:inline-block;margin:0;padding:0;list-style:none}footer>nav li{display:inline-block;margin:0 0.75rem;width:4rem;height:3rem;border:1px solid;border-bottom:3px solid;border-color:transparent;border-top-right-radius:0.5rem;text-align:center}footer>nav li a{position:relative;display:block;width:100%;height:100%;line-height:3rem;margin:0;padding:0;background:rgba(0,0,0,0.25);border-top-right-radius:0.5rem}footer>nav li:hover{border-color:#dcc985}footer>nav li:hover a{font-weight:bold;background:rgba(0,0,0,0.5)}@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:local("Cormorant Garamond SemiBold"),local("CormorantGaramond-SemiBold"),url(/assets/fonts/cormorant-garamond-semibold.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:100;font-display:swap;src:local("Cormorant Garamond LightItalic"),local("CormorantGaramond-LightItalic"),url(/assets/fonts/cormorant-garamond-lightitalic.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:100;font-display:swap;src:local("Cormorant Garamond Light"),local("CormorantGaramond-Light"),url(/assets/fonts/cormorant-garamond-light.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Abel";src:local("Abel Regular"),local("Abel-Regular"),url(/assets/fonts/abel.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}body.gfx{background-color:#cda896}body.gfx>aside:hover,body.gfx>aside:focus{background-color:#cda896}body.gfx>aside:hover nav ul li:first-child,body.gfx>aside:focus nav ul li:first-child{background:#cda896}body.gfx #krto img{float:left;padding-right:2rem;margin-left:-6rem}body.gfx #cw{clear:both;position:relative;z-index:0}body.gfx #cw a{z-index:200}body.gfx #cw #gfx{position:absolute;margin-top:-1.5rem;z-index:-1;opacity:1;height:22.5rem;width:72rem;animation:fade-in 1s linear}body.gfx #cw #gfx svg{position:relative;margin-left:-7rem;height:100%}body.gfx #cw:hover #gfx{opacity:0.2;animation:fade-out 1s linear}body.gfx .sinewave.w0{fill:rgba(240,40,142,0.5)}body.gfx .sinewave.w1{fill:rgba(140,140,42,0.5)}body.gfx .sinewave.w2{fill:rgba(240,142,1,0.5)}body.gfx .sinewave.w3{fill:rgba(0,110,12,0.5)}body.txt{background-color:#bbcd96}body.txt>aside:hover,body.txt>aside:focus{background-color:#bbcd96}body.txt>aside:hover nav ul li:nth-child(2),body.txt>aside:focus nav ul li:nth-child(2){background:#bbcd96}body.txt>header h1{min-height:10rem}body.txt>header h2{position:absolute;font-size:4.8rem;transform-origin:top-left;width:90rem;left:50%;transform:rotate(90deg) translate(0, -4.5rem);text-align:left;margin-left:39rem;margin-top:auto}body.vda{background:#6d90a2}body.vda>aside:hover,body.vda>aside:focus{background-color:#6d90a2}body.vda>aside:hover nav ul li:last-child,body.vda>aside:focus nav ul li:last-child{background:#6d90a2}body.vda #HeLa p>span{display:block;background-color:teal;color:white;font-weight:bold;margin-top:2rem;padding:1rem;border-top-left-radius:2rem}body.vda #HeLa button{border:1rem solid #ff667f;height:auto;background-color:teal;color:white;width:100%;border-radius:0;border-bottom-right-radius:3rem;font-size:larger}body.vda #HeLa button:hover,body.vda #HeLa button:focus{border-color:teal;background-color:#ff667f}body.vdo{background:#6d90a2}body.vdo>aside:hover,body.vdo>aside:focus{background-color:#6d90a2}body.vdo>aside:hover nav ul li:last-child,body.vdo>aside:focus nav ul li:last-child{background:#6d90a2}html[lang='en'] :lang(fr){display:none !important}html[lang='fr'] :lang(en){display:none !important}:lang(en){quotes:'\201C' '\201D' '\2018' '\2019'}:lang(fr){quotes:'« ' ' »'}a{text-decoration:none}a:link{color:#177b5d}a:hover{color:#000;text-decoration:underline}a:active{color:#fff}a:visited{color:rgba(23,123,93,0.8)}span.ps{background:url(../img/logo-ps.svg) top left/3rem no-repeat;opacity:0.75;color:transparent;padding:0.25rem}body{font-family:Abel,"Open Sans",sans-serif;font-size:1em}body>header :link,body>header :visited,body>footer :link,body>footer :visited{color:#dcc985;text-decoration:none}body :visited{text-decoration:underline}img{max-width:100%}@keyframes fade-in{from{opacity:0.2}to{opacity:1}}@keyframes fade-out{from{opacity:1}to{opacity:0.2}} +@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:local("Cormorant Garamond SemiBold"),local("CormorantGaramond-SemiBold"),url(/assets/fonts/cormorant-garamond-semibold.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:100;font-display:swap;src:local("Cormorant Garamond LightItalic"),local("CormorantGaramond-LightItalic"),url(/assets/fonts/cormorant-garamond-lightitalic.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:100;font-display:swap;src:local("Cormorant Garamond Light"),local("CormorantGaramond-Light"),url(/assets/fonts/cormorant-garamond-light.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Abel";src:local("Abel Regular"),local("Abel-Regular"),url(/assets/fonts/abel.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.container{position:relative;width:100%;max-width:960px;margin:0 auto;padding:0 20px;box-sizing:border-box}.column,.columns{width:100%;float:left;box-sizing:border-box}@media (min-width: 400px){.container{width:85%;padding:0}}@media (min-width: 550px){.container{width:80%}.column,.columns{margin-left:4%}.column:first-child,.columns:first-child{margin-left:0}.one.column,.one.columns{width:4.66666666667%}.two.columns{width:13.3333333333%}.three.columns{width:22%}.four.columns{width:30.6666666667%}.five.columns{width:39.3333333333%}.six.columns{width:48%}.seven.columns{width:56.6666666667%}.eight.columns{width:65.3333333333%}.nine.columns{width:74.0%}.ten.columns{width:82.6666666667%}.eleven.columns{width:91.3333333333%}.twelve.columns{width:100%;margin-left:0}.one-third.column{width:30.6666666667%}.two-thirds.column{width:65.3333333333%}.one-half.column{width:48%}.offset-by-one.column,.offset-by-one.columns{margin-left:8.66666666667%}.offset-by-two.column,.offset-by-two.columns{margin-left:17.3333333333%}.offset-by-three.column,.offset-by-three.columns{margin-left:26%}.offset-by-four.column,.offset-by-four.columns{margin-left:34.6666666667%}.offset-by-five.column,.offset-by-five.columns{margin-left:43.3333333333%}.offset-by-six.column,.offset-by-six.columns{margin-left:52%}.offset-by-seven.column,.offset-by-seven.columns{margin-left:60.6666666667%}.offset-by-eight.column,.offset-by-eight.columns{margin-left:69.3333333333%}.offset-by-nine.column,.offset-by-nine.columns{margin-left:78.0%}.offset-by-ten.column,.offset-by-ten.columns{margin-left:86.6666666667%}.offset-by-eleven.column,.offset-by-eleven.columns{margin-left:95.3333333333%}.offset-by-one-third.column,.offset-by-one-third.columns{margin-left:34.6666666667%}.offset-by-two-thirds.column,.offset-by-two-thirds.columns{margin-left:69.3333333333%}.offset-by-one-half.column,.offset-by-one-half.columns{margin-left:52%}}html{font-size:62.5%}body{font-size:1.5em;line-height:1.6;font-weight:400;font-family:'Open Sans', open-sans, Lato, 'Fira Sans', Helvetica, Arial, sans-serif;color:#222}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300}h1{font-size:4.0rem;line-height:1.2;letter-spacing:-.1rem}h2{font-size:3.6rem;line-height:1.25;letter-spacing:-.1rem}h3{font-size:3.0rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;line-height:1.6;letter-spacing:0}@media (min-width: 550px){h1{font-size:5.0rem}h2{font-size:4.2rem}h3{font-size:3.6rem}h4{font-size:3.0rem}h5{font-size:2.4rem}h6{font-size:1.5rem}}p{margin-top:0}a{color:#1EAEDB}a:hover{color:#0FA0CE}.button,button,input[type="submit"],input[type="reset"],input[type="button"]{display:inline-block;height:3.8rem;padding:0 2rem;color:#555;text-align:center;font-size:1.1rem;font-weight:600;line-height:3.8rem;letter-spacing:.1rem;text-transform:uppercase;text-decoration:none;white-space:nowrap;background-color:transparent;border-radius:0.4rem;border:1px solid #bbb;cursor:pointer;box-sizing:border-box}.button:hover,button:hover,input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover,.button:focus,button:focus,input[type="submit"]:focus,input[type="reset"]:focus,input[type="button"]:focus{color:#333;border-color:#888;outline:0}.button.button-primary,button.button-primary,input[type="submit"].button-primary,input[type="reset"].button-primary,input[type="button"].button-primary{color:#FFF;background-color:#33C3F0;border-color:#33C3F0}.button.button-primary:hover,button.button-primary:hover,input[type="submit"].button-primary:hover,input[type="reset"].button-primary:hover,input[type="button"].button-primary:hover,.button.button-primary:focus,button.button-primary:focus,input[type="submit"].button-primary:focus,input[type="reset"].button-primary:focus,input[type="button"].button-primary:focus{color:#FFF;background-color:#1EAEDB;border-color:#1EAEDB}input[type="email"],input[type="number"],input[type="search"],input[type="text"],input[type="tel"],input[type="url"],input[type="password"],textarea,select{height:38px;padding:6px 10px;background-color:#fff;border:1px solid #D1D1D1;border-radius:4px;box-shadow:none;box-sizing:border-box}input[type="email"],input[type="number"],input[type="search"],input[type="text"],input[type="tel"],input[type="url"],input[type="password"],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}textarea{min-height:65px;padding-top:6px;padding-bottom:6px}input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="text"]:focus,input[type="tel"]:focus,input[type="url"]:focus,input[type="password"]:focus,textarea:focus,select:focus{border:1px solid #33C3F0;outline:0}label,legend{display:block;margin-bottom:.5rem;font-weight:600}fieldset{padding:0;border-width:0}input[type="checkbox"],input[type="radio"]{display:inline}label>.label-body{display:inline-block;margin-left:.5rem;font-weight:normal}ul{list-style:circle outside}ol{list-style:decimal inside}ol,ul{padding-left:0;margin-top:0}ul ul,ul ol,ol ol,ol ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}li{margin-bottom:0.25rem}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}th,td{padding:12px 15px;text-align:left;border-bottom:1px solid #E1E1E1}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}button,.button{margin-bottom:1rem}input,textarea,select,fieldset{margin-bottom:1.5rem}pre,blockquote,dl,figure,table,p,ul,ol,form{margin-bottom:2.5rem}.u-full-width{width:100%;box-sizing:border-box}.u-max-full-width{max-width:100%;box-sizing:border-box}.u-pull-right{float:right}.u-pull-left{float:left}hr{margin-top:3rem;margin-bottom:3.5rem;border-width:0;border-top:1px solid #E1E1E1}.container:after,.row:after,.u-cf{content:"";display:table;clear:both}a{text-decoration:none}a:link{color:#177b5d}a:hover{color:#000;text-decoration:underline}a:active{color:#fff}a:visited{color:rgba(23,123,93,0.8)}img{max-width:100%}@keyframes fade-in{from{opacity:0.2}to{opacity:1}}@keyframes fade-out{from{opacity:1}to{opacity:0.2}}h1,h2,h3,h4,h5,h6{font-family:"Cormorant Garamond",serif;font-weight:600}h1 a,h1 a:hover,h1 a:focus,h1 a:link,h1 a:visited,h2 a,h2 a:hover,h2 a:focus,h2 a:link,h2 a:visited,h3 a,h3 a:hover,h3 a:focus,h3 a:link,h3 a:visited,h4 a,h4 a:hover,h4 a:focus,h4 a:link,h4 a:visited,h5 a,h5 a:hover,h5 a:focus,h5 a:link,h5 a:visited,h6 a,h6 a:hover,h6 a:focus,h6 a:link,h6 a:visited{text-decoration:none;color:inherit}h1 a:active,h2 a:active,h3 a:active,h4 a:active,h5 a:active,h6 a:active{text-decoration:underline;color:#f0f0f2}body.ps>header{position:fixed;z-index:999;top:0;left:0;right:0;background:#7c7692;padding:0 2rem;color:#f0f0f2}body.ps>header h1{margin:0 auto}body.ps>header h1:before{background:url(../assets/img/logo-ps.svg) center left/5rem no-repeat;display:block;width:5rem;height:5rem}body.ps>header h2{font-weight:100;margin-top:-2.6rem;font-size:3.7rem;transform:rotate(180deg)}body.ps>header p{font-family:"Cormorant Garamond",serif;font-size:2rem;font-style:italic;margin:-3.8rem 0 0 0;padding:0 0 0.4rem 0.3rem}body.ps>header p span{color:black}body.ps.home>header{background-color:#6d4e80;top:unset;right:5vw;bottom:-2vh;left:5vw;padding:1rem;font-size:1.2rem;color:rgba(255,255,255,0.85);overflow:auto;transform:rotate(-2.7deg) translateY(4.5vh) skewX(-5deg)}body.ps.home>header h1{font-size:7vh;text-align:center;transform:rotate(1.5deg) translateX(5vh) translateY(-1vh)}body.ps.home>header h1 img{display:none;vertical-align:-1.6rem}body.ps.home>header section{display:none;max-width:42rem;margin:0 auto;padding-bottom:7rem}body.ps.home>header footer{background-color:#6d4e80;display:none;font-size:1rem;z-index:999;position:fixed;bottom:0;left:0;right:0;display:none}body.ps.home>header footer>h4{display:inline-block}body.ps.home>header footer>nav{display:none}body.ps.home>header footer>p{display:none;max-width:42rem;margin:0 auto;padding-bottom:7rem}body.ps.home>header:hover{top:5vh}body.ps.home>header:hover h1{font-size:2.6rem;transform:rotate(2.7deg) translate(0, 0) skewX(0)}body.ps.home>header:hover img{display:inline-block}body.ps.home>header:hover section,body.ps.home>header:hover footer{display:block;width:80vw;margin:0 auto;padding-bottom:3rem}body>main{position:relative;top:0rem;right:0;left:0;font-size:1.6rem;margin:0 auto;max-width:96rem}body>main>article{background-color:#f0f0f2;margin:0 auto;max-width:60rem;min-height:calc(100vh - 24rem);height:auto;padding:12rem 9rem}article>header p{font-size:2rem;line-height:1.25;font-family:"Cormorant Garamond",serif;text-variant:italic;padding:0rem 4rem;text-align:justify}article>header p:last-child{padding-bottom:2rem}article section:after{display:table;content:"";clear:both;margin-bottom:2rem}article aside ul{display:table;position:relative;list-style:none;margin:0 -8rem 1rem -8rem;width:calc(100% + 16rem)}article aside ul li{display:table-cell;text-align:center}article aside ul img{display:block;background-color:black;width:16rem;height:9rem;margin:1rem auto}article .intro{background-color:rgba(255,255,255,0.1);box-shadow:1px 2px 3px rgba(0,0,0,0.5);height:auto;max-height:2rem;margin:2rem;padding:2rem;overflow:hidden;text-overflow:ellipsis}article .intro p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}article .intro:hover{max-height:100vh}article .intro:hover p{white-space:normal;overflow:auto}article .outro p{font-size:2rem;text-align:justify}article video,article iframe{max-width:100%}article .video{margin:0 -6rem 0 -4rem}article .video video{width:30rem;height:18.875rem;background:black;float:left;margin:0 2rem 0 -4rem}article .video p{line-height:1.25}article .video:hover video,article .video:hover iframe{width:68rem;height:38.25rem;float:none;margin:auto}section h2+h3{font-size:2.5rem;font-style:italic;margin-top:-2rem}article #intro h2{transform:rotate(270deg) translate(13.6rem, -34rem)}span.note{font-size:smaller;padding-left:1rem;display:none}:hover+span.note{display:inline}#lang-switch{background-color:rgba(240,240,242,0.3)}body>aside{position:fixed;top:calc(50% - 150px);height:300px;background:black url(../img/aside-off.png) center right no-repeat;left:-20rem;width:20rem;padding:1rem}body>aside:hover,body>aside:focus{left:0;background:#f0f0f2 url(../img/aside-on.png) center left no-repeat;box-shadow:1px 2px 2px 1px rgba(0,0,0,0.4);width:auto;border-right:2rem solid black;padding:0}body>aside:hover nav,body>aside:focus nav{display:block;background:#f0f0f2 url(../img/aside-on.png) center left no-repeat;height:100%}body>aside:hover nav h3 a:link,body>aside:hover nav h3 a:hover,body>aside:hover nav h3 a:active,body>aside:hover nav h3 a:visited,body>aside:focus nav h3 a:link,body>aside:focus nav h3 a:hover,body>aside:focus nav h3 a:active,body>aside:focus nav h3 a:visited{color:transparent}body>aside:hover ul li:hover a:hover,body>aside:focus ul li:hover a:hover{text-decoration:none}body>aside:hover ul li:hover span,body>aside:focus ul li:hover span{display:block}body>aside:hover ul li:hover:first-child,body>aside:focus ul li:hover:first-child{transform:scale(1.4) rotate(4deg) translateX(-0.75vw)}body>aside:hover ul li:hover:first-child a,body>aside:focus ul li:hover:first-child a{transform:rotate(-4deg)}body>aside:hover ul li:hover:nth-child(2),body>aside:focus ul li:hover:nth-child(2){transform:scale(1.4) rotate(-6deg) translateX(-0.5vw)}body>aside:hover ul li:hover:nth-child(2) a,body>aside:focus ul li:hover:nth-child(2) a{transform:rotate(6deg)}body>aside:hover ul li:hover:last-child,body>aside:focus ul li:hover:last-child{transform:scale(1.4) rotate(5deg) translateX(-0.5vw)}body>aside:hover ul li:hover:last-child a,body>aside:focus ul li:hover:last-child a{transform:rotate(-5deg)}body>aside nav{position:relative;margin-left:3rem;display:none;line-height:30rem}body>aside nav h3{display:inline-block;background:url(../img/logo-ps.svg) 3rem center/10rem fixed no-repeat;width:10rem;height:100%;vertical-align:top;color:transparent}body>aside nav h3 a{display:block;height:100%;width:100%;line-height:30rem;color:transparent}body>aside nav h3 a:hover{color:transparent}body>aside nav ul{list-style:none;display:inline-block;height:100%}body>aside nav ul li{display:block;padding:0 2rem;font-size:3rem;float:left;padding-left:1rem;z-index:400;overflow:hidden;width:10rem;height:100%}body>aside nav ul li a{color:black;text-decoration:none;display:block;height:100%;width:100%;z-index:404}body>aside nav ul li a:link,body>aside nav ul li a:visited{color:inherit}body>aside nav ul li a:hover{font-size:200%;color:inherit;z-index:404}body>aside nav ul li span{display:none;z-index:400;position:relative;font-size:1.25rem;line-height:1.6rem;text-align:center;margin:-3rem -2rem 0 -1rem}body>aside nav ul li:first-child{background:rgba(191,138,112,0.7)}body>aside nav ul li:nth-child(2){background:rgba(166,191,112,0.9)}body>aside nav ul li:last-child{background:rgba(109,144,162,0.7)}body>footer{position:relative;left:0;right:0;font-size:smaller;margin:5rem auto 2rem auto;width:80vw;max-width:60rem;font-size:1.15rem}body>footer h4{margin:0;font-size:1.6rem}body>footer h4 a{text-decoration:none}body>footer a{white-space:nowrap}body>footer:hover>p>span:first-child{display:inline-block;color:transparent;line-height:0}body>footer:hover>p>span:first-child:before{content:'Copyleft';display:block;color:black;padding-right:0.4rem}body>footer:hover>p>span+span{display:inline-block;transform:rotate(180deg);padding-bottom:-0.07rem}body>footer:hover>p>span:first-child+span{display:inline-block;transform:rotate(180deg) translateY(0.1rem)}footer>nav ul{display:inline-block;margin:0;padding:0;list-style:none}footer>nav li{display:inline-block;margin:0 0.75rem;width:4rem;height:3rem;border:1px solid;border-bottom:3px solid;border-color:transparent;border-top-right-radius:0.5rem;text-align:center}footer>nav li a{position:relative;display:block;width:100%;height:100%;line-height:3rem;margin:0;padding:0;background:rgba(0,0,0,0.25);border-top-right-radius:0.5rem}footer>nav li:hover{border-color:#dcc985}footer>nav li:hover a{font-weight:bold;background:rgba(0,0,0,0.5)}body.gfx{background-color:#cda896}body.gfx>aside:hover,body.gfx>aside:focus{background-color:#cda896}body.gfx>aside:hover nav ul li:first-child,body.gfx>aside:focus nav ul li:first-child{background:#cda896}body.gfx #krto img{float:left;padding-right:2rem;margin-left:-6rem}body.gfx #cw{clear:both;position:relative;z-index:0}body.gfx #cw a{z-index:200}body.gfx #cw #gfx{position:absolute;margin-top:-1.5rem;z-index:-1;opacity:1;height:22.5rem;width:72rem;animation:fade-in 1s linear}body.gfx #cw #gfx svg{position:relative;margin-left:-7rem;height:100%}body.gfx #cw:hover #gfx{opacity:0.2;animation:fade-out 1s linear}body.gfx .sinewave.w0{fill:rgba(240,40,142,0.5)}body.gfx .sinewave.w1{fill:rgba(140,140,42,0.5)}body.gfx .sinewave.w2{fill:rgba(240,142,1,0.5)}body.gfx .sinewave.w3{fill:rgba(0,110,12,0.5)}body.txt{background-color:#bbcd96}body.txt>aside:hover,body.txt>aside:focus{background-color:#bbcd96}body.txt>aside:hover nav ul li:nth-child(2),body.txt>aside:focus nav ul li:nth-child(2){background:#bbcd96}body.txt>header h1{min-height:10rem}body.txt>header h2{position:absolute;font-size:4.8rem;transform-origin:top-left;width:90rem;left:50%;transform:rotate(90deg) translate(0, -4.5rem);text-align:left;margin-left:39rem;margin-top:auto}body.txt article aside ul img{height:22.55rem}body.vda{background:#6d90a2}body.vda>aside:hover,body.vda>aside:focus{background-color:#6d90a2}body.vda>aside:hover nav ul li:last-child,body.vda>aside:focus nav ul li:last-child{background:#6d90a2}body.vda #HeLa p>span{display:block;background-color:teal;color:white;font-weight:bold;margin-top:2rem;padding:1rem;border-top-left-radius:2rem}body.vda #HeLa button{border:1rem solid #ff667f;height:auto;background-color:teal;color:white;width:100%;border-radius:0;border-bottom-right-radius:3rem;font-size:larger}body.vda #HeLa button:hover,body.vda #HeLa button:focus{border-color:teal;background-color:#ff667f}body.vdo{background:#6d90a2}body.vdo>aside:hover,body.vdo>aside:focus{background-color:#6d90a2}body.vdo>aside:hover nav ul li:last-child,body.vdo>aside:focus nav ul li:last-child{background:#6d90a2}html[lang='en'] :lang(fr){display:none !important}html[lang='fr'] :lang(en){display:none !important}:lang(en){quotes:'\201C' '\201D' '\2018' '\2019'}:lang(fr){quotes:'« ' ' »'}span.ps{background:url(../img/logo-ps.svg) top left/3rem no-repeat;opacity:0.75;color:transparent;padding:0.25rem}body{font-family:Abel,"Open Sans",sans-serif;font-size:1em}body>header :link,body>header :visited,body>footer :link,body>footer :visited{color:#141414}body :visited{text-decoration:underline} diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index b7c235a..0327543 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -61,9 +61,8 @@ article { img { display: block; background-color: black; - width: 16rem; + width: 16rem; /* 16:9 for video */ height: 9rem; - /* height: 22.55rem; */ margin: 1rem auto; } } diff --git a/assets/scss/_txt.scss b/assets/scss/_txt.scss index de132e4..76cca30 100644 --- a/assets/scss/_txt.scss +++ b/assets/scss/_txt.scss @@ -25,4 +25,8 @@ body.txt { margin-top: auto; } } + article aside ul img { /* see _main */ + height: 22.55rem; /* 1:1.41 for books */ + } + } diff --git a/assets/scss/screen.scss b/assets/scss/screen.scss index 6e6f060..a18c9b9 100644 --- a/assets/scss/screen.scss +++ b/assets/scss/screen.scss @@ -1,18 +1,70 @@ +/** + * Variables + **/ @import 'variables'; + +/** + * Fonts + **/ +@import 'fonts'; + +/** + * Reset + **/ @import 'normalize'; @import 'skeleton'; + +/** + * Defaults + **/ + +a { + text-decoration: none; + + &:link { + color: $a-link; + } + &:hover { + color: $a-hover; + text-decoration: underline; + } + &:active { + color: $a-active; + } + &:visited { + color: $a-visited; + } +} + +img { + max-width: 100%; +} + +@keyframes fade-in { + from { + opacity: 0.2; + } to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + } to { + opacity: 0.2; + } +} + +/** + * Layout + **/ @import 'header'; @import 'main'; @import 'aside'; @import 'footer'; /** - * Fonts - **/ -@import 'fonts'; - -/** - * Pages + * Page overrides **/ @import 'gfx'; @import 'txt'; @@ -40,27 +92,9 @@ html[lang='fr'] :lang(en) { } /** - * Defaults + * Branding **/ -a { - text-decoration: none; - - &:link { - color: $a-link; - } - &:hover { - color: $a-hover; - text-decoration: underline; - } - &:active { - color: $a-active; - } - &:visited { - color: $a-visited; - } -} - span.ps { background: url(../img/logo-ps.svg) top left / 3rem no-repeat; opacity: 0.75; @@ -74,8 +108,7 @@ body { > header, > footer { :link, :visited { - color: $fg-header-h1; - text-decoration: none; + color: $fg-main; } } @@ -84,21 +117,3 @@ body { } } -img { - max-width: 100%; -} - -@keyframes fade-in { - from { - opacity: 0.2; - } to { - opacity: 1; - } -} -@keyframes fade-out { - from { - opacity: 1; - } to { - opacity: 0.2; - } -} -- cgit v1.2.3