From 982244484f4ad147d44e310615af91ff3f52bfef Mon Sep 17 00:00:00 2001 From: mrfry Date: Fri, 9 Apr 2021 17:12:00 +0200 Subject: [PATCH] Css changes (var) --- src/components/composer.module.css | 2 +- src/components/newsEntry.module.css | 2 +- src/data/tabs.json | 4 ++++ src/defaultStyles.css | 5 +++-- src/pages/index.module.css | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/composer.module.css b/src/components/composer.module.css index 012e515..7d3139a 100644 --- a/src/components/composer.module.css +++ b/src/components/composer.module.css @@ -40,7 +40,7 @@ .new { text-align: center; - background-color: #191919; + background-color: var(--dark-color); border-radius: 3px; cursor: pointer; margin: 8px; diff --git a/src/components/newsEntry.module.css b/src/components/newsEntry.module.css index d5214fd..09f57c2 100644 --- a/src/components/newsEntry.module.css +++ b/src/components/newsEntry.module.css @@ -61,7 +61,7 @@ } .newsRoot { - background-color: #191919; + background-color: var(--dark-color); margin-left: 8px; margin-right: 8px; margin-bottom: 16px; diff --git a/src/data/tabs.json b/src/data/tabs.json index 4c0077f..caec209 100644 --- a/src/data/tabs.json +++ b/src/data/tabs.json @@ -11,6 +11,10 @@ "href": "/allQuestions", "text": "Kérdések és tárgyak" }, + "userFiles": { + "href": "/userFiles", + "text": "StudyDocs" + }, "contribute": { "href": "/contribute", "text": "Teendők" diff --git a/src/defaultStyles.css b/src/defaultStyles.css index c59813c..3a80a0b 100644 --- a/src/defaultStyles.css +++ b/src/defaultStyles.css @@ -4,6 +4,7 @@ --bright-color: #f2f2f2; --background-color: #222426; --hoover-color: #393939; + --dark-color: #191919; } @import url('https://fonts.googleapis.com/css2?family=Kameron&family=Overpass+Mono:wght@300;400&display=swap'); @@ -40,8 +41,8 @@ textarea { input { color: var(--text-color); background-color: var(--background-color); - border: 0px solid #444; - width: 100%; + border: 1px solid #444; + width: 98%; } input:focus { diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 9b61bc9..b5f7f9b 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -81,7 +81,7 @@ .loadMoreButton { text-align: center; - background-color: #191919; + background-color: var(--dark-color); margin-left: 8px; margin-right: 8px; margin-bottom: 16px;