From b95ad0b19399a0958ca72fbba3b78e8dd14a5c3a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 30 Dec 2017 23:43:05 +0100 Subject: Update ps home --- assets/css/screen.css | 2360 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2360 insertions(+) create mode 100644 assets/css/screen.css (limited to 'assets/css/screen.css') diff --git a/assets/css/screen.css b/assets/css/screen.css new file mode 100644 index 0000000..174d54c --- /dev/null +++ b/assets/css/screen.css @@ -0,0 +1,2360 @@ +@charset "UTF-8"; +/** + * SCSS Variables + **/ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ +html { + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ } + +/** + * Remove default margin. + */ +body { + margin: 0; } + +/* HTML5 display definitions + ========================================================================== */ +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; } + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ +audio, +canvas, +progress, +video { + display: inline-block; + /* 1 */ + vertical-align: baseline; + /* 2 */ } + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ +audio:not([controls]) { + display: none; + height: 0; } + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ +[hidden], +template { + display: none; } + +/* Links + ========================================================================== */ +/** + * Remove the gray background color from active links in IE 10. + */ +a { + background-color: transparent; } + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ +a:active, +a:hover { + outline: 0; } + +/* Text-level semantics + ========================================================================== */ +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ +abbr[title] { + border-bottom: 1px dotted; } + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ +b, +strong { + font-weight: bold; } + +/** + * Address styling not present in Safari and Chrome. + */ +dfn { + font-style: italic; } + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; } + +/** + * Address styling not present in IE 8/9. + */ +mark { + background: #ff0; + color: #000; } + +/** + * Address inconsistent and variable font size in all browsers. + */ +small { + font-size: 80%; } + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +/* Embedded content + ========================================================================== */ +/** + * Remove border when inside `a` element in IE 8/9/10. + */ +img { + border: 0; } + +/** + * Correct overflow not hidden in IE 9/10/11. + */ +svg:not(:root) { + overflow: hidden; } + +/* Grouping content + ========================================================================== */ +/** + * Address margin not present in IE 8/9 and Safari. + */ +figure { + margin: 1em 40px; } + +/** + * Address differences between Firefox and other browsers. + */ +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } + +/** + * Contain overflow in all browsers. + */ +pre { + overflow: auto; } + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; } + +/* Forms + ========================================================================== */ +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ +button, +input, +optgroup, +select, +textarea { + color: inherit; + /* 1 */ + font: inherit; + /* 2 */ + margin: 0; + /* 3 */ } + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ +button { + overflow: visible; } + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ +button, +select { + text-transform: none; } + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ } + +/** + * Re-set default cursor for disabled elements. + */ +button[disabled], +html input[disabled] { + cursor: default; } + +/** + * Remove inner padding and border in Firefox 4+. + */ +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; } + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ +input { + line-height: normal; } + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; } + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + box-sizing: content-box; } + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +/** + * Define consistent border, margin, and padding. + */ +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ +legend { + border: 0; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ +textarea { + overflow: auto; } + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ +optgroup { + font-weight: bold; } + +/* Tables + ========================================================================== */ +/** + * Remove most spacing between table cells. + */ +table { + border-collapse: collapse; + border-spacing: 0; } + +td, +th { + padding: 0; } + +/* +* Skeleton V2.0.4 +* Copyright 2014, Dave Gamache +* www.getskeleton.com +* Free to use under the MIT license. +* http://www.opensource.org/licenses/mit-license.php +* 12/29/2014 +* +* Adapted for Devuan.org by hellekin, 2016 +*/ +/* Table of contents +–––––––––––––––––––––––––––––––––––––––––––––––––– +- Grid +- Base Styles +- Typography +- Links +- Buttons +- Forms +- Lists +- Code +- Tables +- Spacing +- Utilities +- Clearing +- Media Queries +*/ +/* Grid +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.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; } + +/* For devices larger than 400px */ +@media (min-width: 400px) { + .container { + width: 85%; + padding: 0; } } +/* For devices larger than 550px */ +@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%; } + + /* Offsets */ + .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%; } } +/* Base Styles +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* NOTE +html is set to 62.5% so that all the REM measurements throughout Skeleton +are based on 10px sizing. So basically 1.5rem = 15px :) */ +html { + font-size: 62.5%; } + +body { + font-size: 1.5em; + /* currently ems cause chrome bug misinterpreting rems on body element */ + line-height: 1.6; + font-weight: 400; + font-family: 'Open Sans', open-sans, Lato, 'Fira Sans', Helvetica, Arial, sans-serif; + color: #222; } + +/* Typography +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Larger than phablet */ +@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; } + +/* Links +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +a { + color: #1EAEDB; } + +a:hover { + color: #0FA0CE; } + +/* Buttons +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.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; } + +/* Forms +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; + /* The 6px vertically centers text on FF, ignored by Webkit */ + background-color: #fff; + border: 1px solid #D1D1D1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; } + +/* Removes awkward default styles on some inputs for iOS */ +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; } + +/* Lists +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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 +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Tables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Spacing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Utilities +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.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; } + +/* Misc +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +hr { + margin-top: 3rem; + margin-bottom: 3.5rem; + border-width: 0; + border-top: 1px solid #E1E1E1; } + +/* Clearing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* Self Clearing Goodness */ +.container:after, +.row:after, +.u-cf { + content: ""; + display: table; + clear: both; } + +/* Media Queries +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* +Note: The best way to structure the use of media queries is to create the queries +near the relevant code. For example, if you wanted to change the styles for buttons +on small devices, paste the mobile query code up in the buttons section and style it +there. +*/ +/* Larger than mobile */ +/* Larger than phablet (also point when grid becomes active) */ +/* Larger than tablet */ +/* Larger than desktop */ +/* Larger than Desktop HD */ +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: rgba(166, 191, 112, 0.9); + 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: 2rem 4rem; + text-align: justify; } +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; + width: 16rem; + height: 9rem; + background-color: black; + 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 { + margin: 0 -6rem 0 -4rem; } + article .video video { + width: 30rem; + background: black; + float: left; + margin: 0 2rem 0 -4rem; } + article .video p { + line-height: 1.25; } + article .video:hover video { + width: calc(100% + 6rem); + height: auto; + float: none; } + +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 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%; + /* + &:first-child { + background: $bg-gfx; + } + + &:nth-child(2) { + background: $bg-txt; + } + + &:last-child { + background: $bg-vdo; + } + */ } + 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: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 > footer { + position: relative; + left: 0; + right: 0; + font-size: smaller; + margin: 5rem auto 2rem auto; + width: 80vw; } + 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; } + +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); } + +/** + * Pages + **/ +body.gfx > main > article { + background: #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; } + +/** + * SCSS Variables + **/ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ +html { + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ } + +/** + * Remove default margin. + */ +body { + margin: 0; } + +/* HTML5 display definitions + ========================================================================== */ +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; } + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ +audio, +canvas, +progress, +video { + display: inline-block; + /* 1 */ + vertical-align: baseline; + /* 2 */ } + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ +audio:not([controls]) { + display: none; + height: 0; } + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ +[hidden], +template { + display: none; } + +/* Links + ========================================================================== */ +/** + * Remove the gray background color from active links in IE 10. + */ +a { + background-color: transparent; } + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ +a:active, +a:hover { + outline: 0; } + +/* Text-level semantics + ========================================================================== */ +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ +abbr[title] { + border-bottom: 1px dotted; } + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ +b, +strong { + font-weight: bold; } + +/** + * Address styling not present in Safari and Chrome. + */ +dfn { + font-style: italic; } + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; } + +/** + * Address styling not present in IE 8/9. + */ +mark { + background: #ff0; + color: #000; } + +/** + * Address inconsistent and variable font size in all browsers. + */ +small { + font-size: 80%; } + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +/* Embedded content + ========================================================================== */ +/** + * Remove border when inside `a` element in IE 8/9/10. + */ +img { + border: 0; } + +/** + * Correct overflow not hidden in IE 9/10/11. + */ +svg:not(:root) { + overflow: hidden; } + +/* Grouping content + ========================================================================== */ +/** + * Address margin not present in IE 8/9 and Safari. + */ +figure { + margin: 1em 40px; } + +/** + * Address differences between Firefox and other browsers. + */ +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } + +/** + * Contain overflow in all browsers. + */ +pre { + overflow: auto; } + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; } + +/* Forms + ========================================================================== */ +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ +button, +input, +optgroup, +select, +textarea { + color: inherit; + /* 1 */ + font: inherit; + /* 2 */ + margin: 0; + /* 3 */ } + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ +button { + overflow: visible; } + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ +button, +select { + text-transform: none; } + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ } + +/** + * Re-set default cursor for disabled elements. + */ +button[disabled], +html input[disabled] { + cursor: default; } + +/** + * Remove inner padding and border in Firefox 4+. + */ +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; } + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ +input { + line-height: normal; } + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; } + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + box-sizing: content-box; } + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +/** + * Define consistent border, margin, and padding. + */ +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ +legend { + border: 0; + /* 1 */ + padding: 0; + /* 2 */ } + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ +textarea { + overflow: auto; } + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ +optgroup { + font-weight: bold; } + +/* Tables + ========================================================================== */ +/** + * Remove most spacing between table cells. + */ +table { + border-collapse: collapse; + border-spacing: 0; } + +td, +th { + padding: 0; } + +/* +* Skeleton V2.0.4 +* Copyright 2014, Dave Gamache +* www.getskeleton.com +* Free to use under the MIT license. +* http://www.opensource.org/licenses/mit-license.php +* 12/29/2014 +* +* Adapted for Devuan.org by hellekin, 2016 +*/ +/* Table of contents +–––––––––––––––––––––––––––––––––––––––––––––––––– +- Grid +- Base Styles +- Typography +- Links +- Buttons +- Forms +- Lists +- Code +- Tables +- Spacing +- Utilities +- Clearing +- Media Queries +*/ +/* Grid +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.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; } + +/* For devices larger than 400px */ +@media (min-width: 400px) { + .container { + width: 85%; + padding: 0; } } +/* For devices larger than 550px */ +@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%; } + + /* Offsets */ + .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%; } } +/* Base Styles +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* NOTE +html is set to 62.5% so that all the REM measurements throughout Skeleton +are based on 10px sizing. So basically 1.5rem = 15px :) */ +html { + font-size: 62.5%; } + +body { + font-size: 1.5em; + /* currently ems cause chrome bug misinterpreting rems on body element */ + line-height: 1.6; + font-weight: 400; + font-family: 'Open Sans', open-sans, Lato, 'Fira Sans', Helvetica, Arial, sans-serif; + color: #222; } + +/* Typography +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Larger than phablet */ +@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; } + +/* Links +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +a { + color: #1EAEDB; } + +a:hover { + color: #0FA0CE; } + +/* Buttons +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.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; } + +/* Forms +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; + /* The 6px vertically centers text on FF, ignored by Webkit */ + background-color: #fff; + border: 1px solid #D1D1D1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; } + +/* Removes awkward default styles on some inputs for iOS */ +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; } + +/* Lists +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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 +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Tables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Spacing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +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; } + +/* Utilities +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.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; } + +/* Misc +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +hr { + margin-top: 3rem; + margin-bottom: 3.5rem; + border-width: 0; + border-top: 1px solid #E1E1E1; } + +/* Clearing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* Self Clearing Goodness */ +.container:after, +.row:after, +.u-cf { + content: ""; + display: table; + clear: both; } + +/* Media Queries +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* +Note: The best way to structure the use of media queries is to create the queries +near the relevant code. For example, if you wanted to change the styles for buttons +on small devices, paste the mobile query code up in the buttons section and style it +there. +*/ +/* Larger than mobile */ +/* Larger than phablet (also point when grid becomes active) */ +/* Larger than tablet */ +/* Larger than desktop */ +/* Larger than Desktop HD */ +a { + text-decoration: none; } + a:link { + color: #f0f0f2; } + a:hover { + color: white; + text-decoration: underline; } + a:active { + color: black; } + a:visited { + color: rgba(240, 240, 242, 0.8); } + +span.ps { + background: url(../img/logo-ps.svg) top left/5rem no-repeat; + opacity: 0.75; + color: transparent; + padding: 0 1rem; } + +h1, h2, h3, h4, h5, h6 { + font-family: "Cormorant Garamond", serif; + font-weight: 600; } + h1 a, h1 a:hover, h1 a:focus, h2 a, h2 a:hover, h2 a:focus, h3 a, h3 a:hover, h3 a:focus, h4 a, h4 a:hover, h4 a:focus, h5 a, h5 a:hover, h5 a:focus, h6 a, h6 a:hover, h6 a:focus { + text-decoration: none; + color: inherit; } + +body { + font-family: Abel, "Open Sans", sans-serif; + font-size: 1em; + /* No rem here, bug workaround */ + background: #f0f0f2; + color: black; } + +body > header { + position: fixed; + z-index: 999; + top: 0; + left: 0; + right: 0; + background: #7c7692; + padding: 0 2rem; + color: #f0f0f2; } + body > header h1 { + margin: 0 auto; } + body > header h1:before { + background: url(../assets/img/logo-ps.svg) center left/5rem no-repeat; + display: block; + width: 5rem; + height: 5rem; } + body > header h2 { + font-weight: 100; + margin-top: -2.6rem; + font-size: 3.7rem; + transform: rotate(180deg); } + body > 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 > header p span { + color: black; } + +body > main { + position: relative; + top: 0rem; + left: 0; + right: 0; + margin: 0 auto; + max-width: 96rem; + font-size: 1.6rem; } + body > main > article { + margin: 0 auto; + background: rgba(166, 191, 112, 0.9); + max-width: 60rem; + min-height: calc(100vh - 24rem); + padding: 12rem 9rem; } + +body.gfx > main > article { + background: #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.txt > main > article { + background: #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.vdo > main > article { + 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; } +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 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: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; + max-width: 60rem; + margin: 5rem auto 2rem auto; } + +article > header p { + font-size: 2rem; + line-height: 1.25; + font-family: "Cormorant Garamond", serif; + text-variant: italic; + padding: 2rem 4rem; + text-align: justify; } + +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; + width: 16rem; + height: 9rem; + background-color: black; + margin: 1rem auto; } +article .outro p { + font-size: 2rem; + text-align: justify; } +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 .video { + margin: 0 -6rem 0 -4rem; } + article .video video { + width: 30rem; + background: black; + float: left; + margin: 0 2rem 0 -4rem; } + article .video p { + line-height: 1.25; } + article .video:hover video { + width: calc(100% + 6rem); + height: auto; + float: none; } + +body.vdo > main > article { + 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; } + +/** + * Languages + **/ +html[lang='en'] :lang(fr) { + display: none; } + +html[lang='fr'] :lang(en) { + display: none; } + +:lang(en) { + quotes: '\201C' '\201D' '\2018' '\2019'; } + +:lang(fr) { + quotes: '« ' ' »'; } + +/** + * Defaults + **/ +body { + font-family: Abel, "Open Sans", sans-serif; + font-size: 1em; + /* No rem here, bug workaround */ + background: #f0f0f2; + color: #141414; } + body.ps { + background: rgba(173, 151, 56, 0.68); + color: #f3f0e4; } + body > header :link, body > header :visited, body > footer :link, body > footer :visited { + color: #dcc985; + text-decoration: none; } + body :visited { + text-decoration: underline; } + +/*# sourceMappingURL=screen.css.map */ -- cgit v1.2.3