Cleaned up unused styles and improved formatting
This commit is contained in:
parent
8bac1c4539
commit
4a848eb462
@ -72,21 +72,6 @@ ol, ul {
|
||||
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 {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@ -152,16 +137,6 @@ button:active, button.active {
|
||||
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 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -201,11 +176,6 @@ main {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
main > div {
|
||||
font-size: 28px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@ -216,7 +186,6 @@ ul {
|
||||
li {
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 5px;
|
||||
display: inline-block;
|
||||
margin: 120px 10px 10px 10px;
|
||||
padding: 19px;
|
||||
width: 330px;
|
||||
|
||||
@ -13,8 +13,7 @@ const app = new Vue({
|
||||
if(this.search) {
|
||||
var search = this.search.toLowerCase();
|
||||
return this.currentfilms.filter(function (film) {
|
||||
return film.name.toLowerCase().indexOf(search) !== -1 ||
|
||||
film.description.toLowerCase().indexOf(search) !== -1;
|
||||
return film.name.toLowerCase().indexOf(search) !== -1 || film.description.toLowerCase().indexOf(search) !== -1;
|
||||
});
|
||||
} else {
|
||||
return this.currentfilms;
|
||||
@ -35,8 +34,7 @@ const app = new Vue({
|
||||
});
|
||||
} else {
|
||||
return this.searchedfilms.filter(function (film) {
|
||||
return type === film.color + film.type &&
|
||||
format === film.format;
|
||||
return type === film.color + film.type && format === film.format;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user