headline/view/static/main.css

92 lines
921 B
CSS
Raw Normal View History

2023-08-16 19:41:55 +02:00
:root {
--border-color: hsl(0 0% 90%);
--accent-color: red;
}
html {
box-sizing: border-box;
font-family: system-ui;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
* {
margin: 0;
}
body {
line-height: 1.5;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: stretch;
}
.footer {
margin-top: auto;
padding: 1.5rem 0;
margin-top: 1.5rem;
border-top: 1px solid var(--border-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
table,
th,
tr,
td {
text-align: inherit;
}
.pagination {
list-style-type: none;
padding: 0;
display: flex;
}
.page-link {
display: block;
padding: 0.5em 1em;
}
.page-item.active {
background-color: var(--accent-color);
}