From 6f65f54864ae804781983817b6bbcebe7a589915 Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni Date: Thu, 26 Nov 2020 03:03:51 +0100 Subject: [PATCH] update: some easy css fixes --- src/locales/en.json | 2 +- src/styles/layout/events/events.scss | 14 +++++++------- src/styles/layout/polls/polls.scss | 2 +- src/styles/layout/resources/resources.scss | 11 +++++++---- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 2744724..16a6504 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -9,7 +9,7 @@ }, "menuLeft": { "emptyCircleProject": { - "notPartOf": "You're not part of", + "notPartOf": "You're not part of any", "createNew": "To create a new one, you can go in the", "adminPanel": "administration panel", "project": "project", diff --git a/src/styles/layout/events/events.scss b/src/styles/layout/events/events.scss index be0ef78..ecb3c0c 100644 --- a/src/styles/layout/events/events.scss +++ b/src/styles/layout/events/events.scss @@ -58,7 +58,7 @@ solid-event section { padding: 5px 20px; color: var(--color-primary); } - .headline h2 { + .headline h1 { float: left; margin-top: 35px; color: var(--color-primary); @@ -103,7 +103,7 @@ solid-event section { [name="infotext"] { text-align: left; } - [name="name"] { + .event-title[name="name"] { font-family: "RefrigeratorDelxW01Bold"; font-size: 3.2rem; line-height: 3.8rem; @@ -144,11 +144,11 @@ solid-event section { } .newevent input[type="submit"], .newtype input[type="submit"], - button { - width: max-content; - padding: 5px 20px; - background-color: #3C3F57; - } + // button { + // width: max-content; + // padding: 5px 20px; + // background-color: #3C3F57; + // } .newevent input[type="file"] { background-color: transparent; } diff --git a/src/styles/layout/polls/polls.scss b/src/styles/layout/polls/polls.scss index 348b545..9611081 100644 --- a/src/styles/layout/polls/polls.scss +++ b/src/styles/layout/polls/polls.scss @@ -11,7 +11,7 @@ solid-poll > div { #default-pollListing, #circles-pollListing { margin: auto; .headline { - h2 { + h1 { font-family: "RefrigeratorDelxW01Bold"; font-size: 2.4rem; color: var(--color-primary); diff --git a/src/styles/layout/resources/resources.scss b/src/styles/layout/resources/resources.scss index 652daab..066f410 100644 --- a/src/styles/layout/resources/resources.scss +++ b/src/styles/layout/resources/resources.scss @@ -5,7 +5,7 @@ font-weight: 400; color: var(--content-font-color); solid-resource { - solid-display div { + .listresources solid-display div { max-width: 1110px; solid-display { margin: 0 0 20px 40px; @@ -40,7 +40,7 @@ } } .listresources { - .headline h2 { + .headline h1 { float: left; margin-top: 5px; color: var(--color-primary); @@ -63,7 +63,7 @@ color: var(--color-primary); } solid-display solid-display { - [name="name"] { + .resource-title { font-family: "RefrigeratorDelxW01Bold"; color: var(--color-primary); } @@ -77,11 +77,14 @@ left: 0; } } + solid-multiple > solid-display > div > solid-display { + margin: 0; + } } } .resourcedetail { background-color: transparent; - [name="name"] { + .resource-title { font-family: "RefrigeratorDelxW01Bold"; font-size: 3.2rem; line-height: 3.8rem;