From 5b69e03eb43faf3a0f9bbf5ded12447e33510472 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:18:30 +0100 Subject: Material: change color of background, article content and titles Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 1af30777..2fcf11bd 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -164,7 +164,7 @@ body { display: flex; min-height: 100vh; flex-direction: column; - background: #f0f0f0; + background: #fafafa; } body.login main { @@ -603,6 +603,19 @@ a.original { max-width: 40em; } +#article article { + color: #424242; +} + +#article article h1, +#article article h2, +#article article h3, +#article article h4, +#article article h5, +#article article h6 { + color: #212121; +} + #article img, #article figure { max-width: 100%; -- cgit v1.2.3 From 7470a2f36ab9c66176855affa9788e2dca8978e2 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:27:10 +0100 Subject: Material: prevent bold in title, update title font size Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 2fcf11bd..ffccb498 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -616,6 +616,39 @@ a.original { color: #212121; } +#article article h1 strong, +#article article h2 strong, +#article article h3 strong, +#article article h4 strong, +#article article h5 strong, +#article article h6 strong { + font-weight: 500; +} + +#article article h6 { + font-size: 1.2rem; +} + +#article article h5 { + font-size: 1.6rem; +} + +#article article h4 { + font-size: 1.9rem; +} + +#article article h3 { + font-size: 2.2rem; +} + +#article article h2 { + font-size: 2.5rem; +} + +#article article h1 { + font-size: 2.7rem; +} + #article img, #article figure { max-width: 100%; -- cgit v1.2.3 From 5ea90fa8b994dcc20738576261702183c0175907 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:27:45 +0100 Subject: Material: increase max width of article on large screens Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index ffccb498..86dab6bf 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -600,7 +600,7 @@ a.original { #article { font-size: 20px; margin: 0 auto; - max-width: 40em; + max-width: 45em; } #article article { -- cgit v1.2.3 From 858430c0d02b94fe84daf6f0a14bdbbb1b75a969 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:36:02 +0100 Subject: Material: update style of article links Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 86dab6bf..3a15a789 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -655,6 +655,15 @@ a.original { height: auto; } +#article article a { + border-bottom: 1px dotted #03a9f4; + text-decoration: none; +} + +#article article a:hover { + border-bottom-style: solid; +} + #article > header > h1 { font-size: 2em; margin: 2.1rem 0 0.68rem; -- cgit v1.2.3 From 59cfd63c235404b05712c9005b37d3814a655633 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:36:31 +0100 Subject: Material: update style of ul in article Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 3a15a789..b4d2765c 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -664,6 +664,15 @@ a.original { border-bottom-style: solid; } +#article article ul { + padding-left: 30px; +} + +#article article ul, +#article article ul li { + list-style-type: disc; +} + #article > header > h1 { font-size: 2em; margin: 2.1rem 0 0.68rem; -- cgit v1.2.3 From fdaa044314d6bd05ac3ff3a6cdad88c852702b2e Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:40:35 +0100 Subject: Material: update style of pre in article Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index b4d2765c..ff3a9891 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -673,6 +673,20 @@ a.original { list-style-type: disc; } +#article article pre { + box-sizing: border-box; + margin: 0 0 1.75em; + border: #e3f2fd 1px solid; + width: 100%; + padding: 10px; + font-family: monospace; + font-size: 0.8em; + white-space: pre; + overflow: auto; + background: #f5f5f5; + border-radius: 3px; +} + #article > header > h1 { font-size: 2em; margin: 2.1rem 0 0.68rem; -- cgit v1.2.3 From 819c8f5bd42e2b69228d8adc9303970cae768167 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:45:05 +0100 Subject: Material: render blockquote in italic and strong in bold in article Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index ff3a9891..a8172b7e 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -673,6 +673,14 @@ a.original { list-style-type: disc; } +#article article blockquote { + font-style: italic; +} + +#article article strong { + font-weight: bold; +} + #article article pre { box-sizing: border-box; margin: 0 0 1.75em; -- cgit v1.2.3 From 56026217c55ee254cce5875ea56072d3a5c49274 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Fri, 25 Nov 2016 13:49:45 +0100 Subject: Material: update size of text in article Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Resources/static/themes/material/css/main.css') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index a8172b7e..82a74c23 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -605,6 +605,8 @@ a.original { #article article { color: #424242; + font-size: 18px; + line-height: 1.7em; } #article article h1, -- cgit v1.2.3