Cleaned up unused styles and improved formatting

This commit is contained in:
Sebastian Lay 2021-09-01 15:58:23 +02:00
parent 8bac1c4539
commit 4a848eb462
No known key found for this signature in database
GPG Key ID: A699D9B80D6068AA
3 changed files with 11 additions and 44 deletions

View File

@ -72,21 +72,6 @@ ol, ul {
list-style: none; list-style: none;
} }
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
html { html {
box-sizing: border-box; box-sizing: border-box;
} }
@ -152,16 +137,6 @@ button:active, button.active {
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTIiIHkxPSI1IiB4Mj0iMTIiIHkyPSIxOSI+PC9saW5lPjxwb2x5bGluZSBwb2ludHM9IjE5IDEyIDEyIDE5IDUgMTIiPjwvcG9seWxpbmU+PC9zdmc+'); background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTIiIHkxPSI1IiB4Mj0iMTIiIHkyPSIxOSI+PC9saW5lPjxwb2x5bGluZSBwb2ludHM9IjE5IDEyIDEyIDE5IDUgMTIiPjwvcG9seWxpbmU+PC9zdmc+');
} }
nav {
margin-top: 50px;
display: flex;
justify-content: space-between;
}
nav button:last-child {
margin-right: 0;
}
aside { aside {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -201,11 +176,6 @@ main {
font-size: 0; font-size: 0;
} }
main > div {
font-size: 28px;
display: none;
}
ul { ul {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -216,7 +186,6 @@ ul {
li { li {
border: 1px solid #bbb; border: 1px solid #bbb;
border-radius: 5px; border-radius: 5px;
display: inline-block;
margin: 120px 10px 10px 10px; margin: 120px 10px 10px 10px;
padding: 19px; padding: 19px;
width: 330px; width: 330px;

View File

@ -13,8 +13,7 @@ const app = new Vue({
if(this.search) { if(this.search) {
var search = this.search.toLowerCase(); var search = this.search.toLowerCase();
return this.currentfilms.filter(function (film) { return this.currentfilms.filter(function (film) {
return film.name.toLowerCase().indexOf(search) !== -1 || return film.name.toLowerCase().indexOf(search) !== -1 || film.description.toLowerCase().indexOf(search) !== -1;
film.description.toLowerCase().indexOf(search) !== -1;
}); });
} else { } else {
return this.currentfilms; return this.currentfilms;
@ -35,8 +34,7 @@ const app = new Vue({
}); });
} else { } else {
return this.searchedfilms.filter(function (film) { return this.searchedfilms.filter(function (film) {
return type === film.color + film.type && return type === film.color + film.type && format === film.format;
format === film.format;
}); });
} }
}, },