move font back from Light to Regular for body text on normal-res screens, fix #18954

This commit is contained in:
Jan-Christoph Borchardt 2015-10-30 04:47:00 +01:00
parent e4900c6c4c
commit 83c177fc1b
7 changed files with 28 additions and 12 deletions

View File

@ -561,11 +561,11 @@ button.loading {
.section h2 {
font-size: 20px;
margin-bottom: 12px;
font-weight: normal;
font-weight: 300;
}
.section h3 {
font-size: 15px;
font-weight: normal;
font-weight: 300;
margin: 12px 0;
}
/* slight position correction of checkboxes and radio buttons */

View File

@ -1,3 +1,13 @@
/* for low-res screens, use Regular font-weight instead of Light */
@media (-webkit-max-device-pixel-ratio: 1.3), (max-resolution: 124.8dpi) {
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff');
}
}
@font-face {
font-family: 'Open Sans';
font-style: normal;

View File

@ -119,6 +119,7 @@
position: relative;
color: #fff;
font-size: 16px;
font-weight: 300;
margin: 0;
margin-top: -24px;
padding: 7px 0 7px 5px;
@ -352,3 +353,11 @@
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
opacity: 1;
}
/* do not show display name when profile picture is present */
#header .avatardiv.avatardiv-shown + #expandDisplayName {
display: none;
}
#header #expand {
display: block;
}

View File

@ -26,14 +26,6 @@
display: none;
}
/* do not show display name on mobile when profile picture is present */
#header .avatardiv.avatardiv-shown + #expandDisplayName {
display: none;
}
#header #expand {
display: block;
}
/* do not show update notification on mobile */
#update-notification {
display: none !important;

View File

@ -27,7 +27,7 @@ select:hover {
body {
background-color: #ffffff;
font-weight: 300;
font-weight: 400;
font-size: .8em;
line-height: 1.6em;
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
@ -258,6 +258,9 @@ button, .button,
border: 1px solid rgba(240,240,240,.9);
cursor: pointer;
}
select, .button.multiselect {
font-weight: 400;
}
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus,
button:hover, button:focus,
@ -591,6 +594,7 @@ input[type="submit"].enabled {
#body-login input[type="password"],
#body-login input[type="email"] {
border: none;
font-weight: 300;
}
/* Nicely grouping input field sets */

Binary file not shown.

View File

@ -19,6 +19,7 @@ input#openid, input#webdav { width:20em; }
margin-top: -30px;
}
.clientsbox h2 {
font-weight: 300;
font-size: 20px;
margin: 35px 0 10px;
}
@ -26,7 +27,7 @@ input#openid, input#webdav { width:20em; }
margin-top: 10px;
}
.clientsbox a {
font-weight: bold;
font-weight: 600;
}
#displaynameerror {