From 1e006b7df774ac9966ba2105e68cebf5e395e98d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 18 Aug 2017 23:39:59 +0200 Subject: folkestone --- public/assets/css.css | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 public/assets/css.css (limited to 'public/assets/css.css') diff --git a/public/assets/css.css b/public/assets/css.css new file mode 100644 index 0000000..51a750e --- /dev/null +++ b/public/assets/css.css @@ -0,0 +1,69 @@ +html,body { + padding: 0; + margin: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +body.about, +body.entry, +body.submit { + overflow: hidden; +} + +#about, #entry, #submit { + position: fixed; + top: 0; left: 0; + width: 100%; height: 100%; + background: #fff; + pointer-events: none; + opacity: 0; +} +.about #about, +.entry #entry, +.submit #submit { + opacity: 1; + pointer-events: auto; +} + +#header { + width: 100%; +} + +.cell { + display: inline-block; + width: 25vw; + height: 20vw; + color: white; + text-shadow: 0 0 2px #000; + cursor: pointer; + background-size: cover; + background-position: center center; +} + +.media { + width: 100%; + max-height: 50vh; +} + +.cell:nth-child(2n+1) { background-color: #ddd; } +.cell:nth-child(2n+2) { background-color: #eee; } + +.close { + position: absolute; + top: 10px; + right: 10px; + padding: 5px; + font-size: 24px; + color: white; + background: black; + border: 2px solid; + cursor: pointer; +} + +@media (max-width: 700px) { + .cell { + width: 100vw; + height: 20vh; + } +} \ No newline at end of file -- cgit v1.2.3-70-g09d2