summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErnst Widerberg <ernst@sunet.se>2022-01-10 15:00:13 +0100
committerErnst Widerberg <ernst@sunet.se>2022-01-10 15:06:49 +0100
commit269692897631a4cca8d32720fc0f99898825711c (patch)
tree4314461ced9e7f09d5d95dc3cfcb8223b3453b2c /src
parent200ff9e8889f2ac19db2d0b9b73af3502185f2de (diff)
Cleanup CSS
Diffstat (limited to 'src')
-rw-r--r--src/styles/main.css23
1 files changed, 8 insertions, 15 deletions
diff --git a/src/styles/main.css b/src/styles/main.css
index 1146b80..8cd5431 100644
--- a/src/styles/main.css
+++ b/src/styles/main.css
@@ -1,14 +1,9 @@
-html,
-body,
-#root {
- min-height: 100vw;
-}
-
body {
background: #fff;
font-size: 14px;
color: #003049;
line-height: 1.2;
+ padding-bottom: 10em;
}
a,
@@ -16,18 +11,15 @@ a:visited {
color: blue;
}
-#list-container,
-#object-view {
- width: 100%;
- padding-bottom: 10em;
-}
-
/* Header */
+
#header {
padding: 2em;
display: flex;
justify-content: space-between;
align-items: center;
+ background-color: #f5f5f5;
+ margin-bottom: 3em;
}
#header #title a {
@@ -39,6 +31,7 @@ a:visited {
}
/* Object */
+
.object {
padding: 2em;
margin: 1em;
@@ -68,14 +61,14 @@ a:visited {
#list-container > #controls {
display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 16px;
+ justify-content: center;
+ margin-bottom: 3em;
}
#list-container > #pagination {
display: flex;
justify-content: center;
+ margin-top: 3em;
}
#list-container #search {