From 60c13b0501e962c2da42cd39511587efa64e9cce Mon Sep 17 00:00:00 2001 From: KosM Date: Tue, 8 Oct 2019 23:29:54 +0300 Subject: [PATCH] changed max width (@media) --- .gitignore | 2 ++ themes/dark_theme.css | 18 +++++++++++++----- themes/dark_theme.css.map | 2 +- themes/dark_theme.scss | 18 ++++++++++++++---- 4 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..656301a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +.vscode/ diff --git a/themes/dark_theme.css b/themes/dark_theme.css index eb65bb4..5c3ccd7 100644 --- a/themes/dark_theme.css +++ b/themes/dark_theme.css @@ -15,10 +15,16 @@ body:not(.full-width) { top: 0; } -.ui.container:not(.fluid) { - width: 70% !important; +@media (max-width: 1199px) { + .ui.container:not(.fluid) { + width: 85% !important; + } +} +@media (min-width: 1200px) { + .ui.container:not(.fluid) { + width: 75% !important; + } } - .tabular .item { /* Repo tabs menu */ color: #197474 !important; @@ -170,7 +176,7 @@ footer { .repository.file.list #file-content .code-view * { font-size: 14px; - line-height: 19px !important; + line-height: 20px !important; } .repository.file.list #file-content .code-view .lines-num span { @@ -183,6 +189,8 @@ footer { .repository.file.list #file-content .code-view .lines-num { background-color: #1c1c1c !important; + line-height: 20px !important; + font-size: 12px; } .repository.file.list #file-content .code-view .lines-num pre li, @@ -191,7 +199,7 @@ footer { .repository.file.list #file-content .code-view .lines-code ol li, .repository.file.list #file-content .code-view .lines-num .hljs li, .repository.file.list #file-content .code-view .lines-code .hljs li { - font-size: 16px; + font-size: 14px; } .repository.file.list #file-content .code-view .lines-num pre li.active, diff --git a/themes/dark_theme.css.map b/themes/dark_theme.css.map index 4d4b71e..4a53227 100644 --- a/themes/dark_theme.css.map +++ b/themes/dark_theme.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["dark_theme.scss"],"names":[],"mappings":"AAmBA;AASA;EACI,kBA7BkB;EA8BlB;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46BtB;AAAA;EAEI;EACA;;;AAGJ;EACI;;;AAGJ;EACI,kBA17BkB;EA27BlB;;;AAGJ;AAAA;EAEI;;;AAGJ;EACI,OAn8BkB;;;AAs8BtB;EACI,OAl8BkB;;;AAq8BtB;EACI","file":"dark_theme.css"} \ No newline at end of file diff --git a/themes/dark_theme.scss b/themes/dark_theme.scss index 4e849aa..35bf160 100644 --- a/themes/dark_theme.scss +++ b/themes/dark_theme.scss @@ -42,9 +42,17 @@ body:not(.full-width) { top: 0; } -.ui.container:not(.fluid) { - width: 70% !important; +@media (max-width: 1199px) { + .ui.container:not(.fluid) { + width: 85% !important; } +} +@media (min-width: 1200px) { + .ui.container:not(.fluid) { + width: 75% !important; +} +} + .tabular .item { /* Repo tabs menu */ @@ -197,7 +205,7 @@ footer { .repository.file.list #file-content .code-view * { font-size: 14px; - line-height: 19px!important; + line-height: 20px!important; } .repository.file.list #file-content .code-view .lines-num span { @@ -210,6 +218,8 @@ footer { .repository.file.list #file-content .code-view .lines-num { background-color: $secondBgColor !important; + line-height :20px !important; + font-size: 12px; } .repository.file.list #file-content .code-view .lines-num pre li, @@ -218,7 +228,7 @@ footer { .repository.file.list #file-content .code-view .lines-code ol li, .repository.file.list #file-content .code-view .lines-num .hljs li, .repository.file.list #file-content .code-view .lines-code .hljs li { - font-size: 16px; + font-size: 14px; } .repository.file.list #file-content .code-view .lines-num pre li.active,