[UI] Reset CSS added, small fixes all around

This commit is contained in:
rainydaysavings 2020-07-20 19:38:49 +01:00 committed by Hugo Sales
parent ee6791fe97
commit 02b17049e3
8 changed files with 43 additions and 6 deletions

View File

@ -1,7 +1,7 @@
.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--unit-size) + var(--main-size) + 0.15em);
margin-top: calc(2 * var(--unit-size) + var(--main-size));
justify-content: center;
align-items: center;
margin-left: calc(var(--nav-size));

View File

@ -1,7 +1,7 @@
.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--medium-size) + var(--main-size) + 0.15em);
margin-top: calc(2 * var(--medium-size) + var(--main-size));
justify-content: center;
align-items: center;
margin-left: 0;

View File

@ -1,7 +1,7 @@
.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--medium-size) + var(--main-size) + 0.15em);
margin-top: calc(2 * var(--medium-size) + var(--main-size));
justify-content: center;
align-items: center;
margin-left: 0;

View File

@ -0,0 +1,36 @@
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
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;
}

View File

@ -1,7 +1,7 @@
.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--unit-size) + var(--main-size) + 0.15em);
margin-top: calc(2 * var(--unit-size) + var(--main-size));
justify-content: center;
align-items: center;
margin-left: var(--nav-size);

View File

@ -1,7 +1,7 @@
.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--medium-size) + var(--main-size) + 0.15em);
margin-top: calc(2 * var(--medium-size) + var(--main-size));
justify-content: center;
align-items: center;
margin-left: 0;

View File

@ -1,7 +1,7 @@
.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--medium-size) + var(--main-size) + 0.15em);
margin-top: calc(2 * var(--medium-size) + var(--main-size));
justify-content: center;
align-items: center;
margin-left: 0;

View File

@ -13,6 +13,7 @@
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base.css') }}" media="screen and (min-width: 1300px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base_mid.css') }}" media="screen and (max-width: 1300px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base_small.css') }}" media="screen and (max-width: 750px)">
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/reset.css') }}">
{% endblock %}
</head>
<body>