Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 15 - LocalStorage/oh-la-la.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 14 additions & 12 deletions 15 - LocalStorage/style.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
html {
box-sizing: border-box;
background: url('http://wes.io/hx9M/oh-la-la.jpg') center no-repeat;
background: url("oh-la-la.jpeg") 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;
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);
fill: white;
background: rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 50%;
width: 200px;
Expand All @@ -26,8 +28,8 @@ svg {
.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);
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
Expand All @@ -44,7 +46,7 @@ h2 {
}

.plates li {
border-bottom: 1px solid rgba(0,0,0,0.2);
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
padding: 10px 0;
font-weight: 100;
display: flex;
Expand All @@ -60,12 +62,12 @@ h2 {
}

.plates input + label:before {
content: '⬜️';
content: "⬜️";
margin-right: 10px;
}

.plates input:checked + label:before {
content: '🌮';
content: "🌮";
}

.add-items {
Expand All @@ -75,5 +77,5 @@ h2 {
.add-items input {
padding: 10px;
outline: 0;
border: 1px solid rgba(0,0,0,0.1);
border: 1px solid rgba(0, 0, 0, 0.1);
}