Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-21 11:15:37 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 18:12:27 +0300
commit627df8f247838bd783d8ca1b21fbcec54b708a94 (patch)
tree056211d7ef47435b39aa5a5531e5fb967dc2e319
parent66d472501fec01f00bc2fd87ece3b6e20a326b77 (diff)
Fixed default font and highcontrast font
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--apps/accessibility/css/fonthighcontrast.scss14
-rw-r--r--core/css/styles.scss2
-rw-r--r--core/shipped.json1
3 files changed, 15 insertions, 2 deletions
diff --git a/apps/accessibility/css/fonthighcontrast.scss b/apps/accessibility/css/fonthighcontrast.scss
index 8a470acbfc5..943be42c4b0 100644
--- a/apps/accessibility/css/fonthighcontrast.scss
+++ b/apps/accessibility/css/fonthighcontrast.scss
@@ -6,10 +6,19 @@
url('../../../core/fonts/OpenSans-Regular.woff') format('woff');
}
+/* overriding default light */
@font-face {
font-family: 'Open Sans';
font-style: normal;
- font-weight: 400;
+ font-weight: 300;
+ src: local('Open Sans'), local('OpenSans'),
+ url('../../../core/fonts/OpenSans-Regular.woff') format('woff');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 500;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'),
url('../../../core/fonts/OpenSans-Semibold.woff') format('woff');
}
@@ -22,3 +31,6 @@
}
$font-face: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
+body {
+ font-weight: 400;
+} \ No newline at end of file
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 3affa3d7096..fddf9fa2f65 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -84,7 +84,7 @@ ul {
body {
background-color: var(--color-main-background);
- font-weight: 400;
+ font-weight: 300;
font-size: .8em;
line-height: 1.6em;
font-family: var(--font-face);
diff --git a/core/shipped.json b/core/shipped.json
index 0c09e53244b..d31fff95cac 100644
--- a/core/shipped.json
+++ b/core/shipped.json
@@ -1,5 +1,6 @@
{
"shippedApps": [
+ "accessibility",
"activity",
"admin_audit",
"comments",