forked from GNUsocial/gnu-social
[UI] Reset CSS added, small fixes all around
This commit is contained in:
parent
1558bffcac
commit
0dfb96cdeb
@ -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));
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
36
public/assets/css/reset.css
Normal file
36
public/assets/css/reset.css
Normal 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;
|
||||
}
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user