From 14927a4c3f358a3f81f9afdb7d8d0be2ce7052b0 Mon Sep 17 00:00:00 2001 From: Shahrooz Alimoradi <33348237+shahroozme@users.noreply.github.com> Date: Thu, 20 Dec 2018 15:02:22 +0330 Subject: [PATCH] Removed spaces --- 15 - LocalStorage/style.css | 135 ++++++++++++++++++------------------ 1 file changed, 67 insertions(+), 68 deletions(-) diff --git a/15 - LocalStorage/style.css b/15 - LocalStorage/style.css index 2ecadad..a717a07 100644 --- a/15 - LocalStorage/style.css +++ b/15 - LocalStorage/style.css @@ -1,80 +1,79 @@ +html { + box-sizing: border-box; + background: url('http://wes.io/hx9M/oh-la-la.jpg') center no-repeat; + background-size: cover; + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + font-family: Futura,"Trebuchet MS",Arial,sans-serif; +} - html { - box-sizing: border-box; - background: url('http://wes.io/hx9M/oh-la-la.jpg') center no-repeat; - background-size: cover; - min-height: 100vh; - display: flex; - justify-content: center; - align-items: center; - text-align: center; - font-family: Futura,"Trebuchet MS",Arial,sans-serif; - } +*, *:before, *:after { + box-sizing: inherit; +} - *, *:before, *:after { - box-sizing: inherit; - } +svg { + fill:white; + background: rgba(0,0,0,0.1); + padding: 20px; + border-radius: 50%; + width: 200px; + margin-bottom: 50px; +} - svg { - fill:white; - background: rgba(0,0,0,0.1); - padding: 20px; - border-radius: 50%; - width: 200px; - margin-bottom: 50px; - } +.wrapper { + padding: 20px; + max-width: 350px; + background: rgba(255,255,255,0.95); + box-shadow: 0 0 0 10px rgba(0,0,0,0.1); +} - .wrapper { - padding: 20px; - max-width: 350px; - background: rgba(255,255,255,0.95); - box-shadow: 0 0 0 10px rgba(0,0,0,0.1); - } +h2 { + text-align: center; + margin: 0; + font-weight: 200; +} - h2 { - text-align: center; - margin: 0; - font-weight: 200; - } +.plates { + margin: 0; + padding: 0; + text-align: left; + list-style: none; +} - .plates { - margin: 0; - padding: 0; - text-align: left; - list-style: none; - } +.plates li { + border-bottom: 1px solid rgba(0,0,0,0.2); + padding: 10px 0; + font-weight: 100; + display: flex; +} - .plates li { - border-bottom: 1px solid rgba(0,0,0,0.2); - padding: 10px 0; - font-weight: 100; - display: flex; - } +.plates label { + flex: 1; + cursor: pointer; +} - .plates label { - flex: 1; - cursor: pointer; - } +.plates input { + display: none; +} - .plates input { - display: none; - } +.plates input + label:before { + content: '⬜️'; + margin-right: 10px; +} - .plates input + label:before { - content: '⬜️'; - margin-right: 10px; - } +.plates input:checked + label:before { + content: '🌮'; +} - .plates input:checked + label:before { - content: '🌮'; - } +.add-items { + margin-top: 20px; +} - .add-items { - margin-top: 20px; - } - - .add-items input { - padding: 10px; - outline: 0; - border: 1px solid rgba(0,0,0,0.1); - } +.add-items input { + padding: 10px; + outline: 0; + border: 1px solid rgba(0,0,0,0.1); +} -- knotmirror 0.0.1