_sass: text readability improvements
With some skins, reading is quite the task.
This commit is contained in:
parent
b831905df1
commit
1089d35c44
2 changed files with 6 additions and 2 deletions
|
@ -17,6 +17,7 @@
|
||||||
font-family: $global-font-family;
|
font-family: $global-font-family;
|
||||||
font-size: $type-size-6 !important;
|
font-size: $type-size-6 !important;
|
||||||
text-indent: initial; /* override*/
|
text-indent: initial; /* override*/
|
||||||
|
font-weight: bold; /* hacks-guide change: override font-weight on notices for readability */
|
||||||
background-color: mix($background-color, $notice-color, $notice-background-mix);
|
background-color: mix($background-color, $notice-color, $notice-background-mix);
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
||||||
|
@ -46,11 +47,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: mix(#000, $notice-color, 10%);
|
/* hacks-guide change start: adjust colours for links in notices for readability */
|
||||||
|
color: mix(#fff, $notice-color, 30%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: mix(#000, $notice-color, 50%);
|
color: mix(#fff, $notice-color, 70%);
|
||||||
}
|
}
|
||||||
|
/* hacks-guide change end */
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|
|
@ -98,6 +98,7 @@ body {
|
||||||
-moz-transition: opacity 0.2s ease-in-out 0.1s;
|
-moz-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
-o-transition: opacity 0.2s ease-in-out 0.1s;
|
-o-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
transition: opacity 0.2s ease-in-out 0.1s;
|
transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
|
user-select: none; /* hacks-guide change: do not change link colour as it hurts readability */
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .header-link {
|
&:hover .header-link {
|
||||||
|
|
Loading…
Reference in a new issue