Merge pull request #11993 from nextcloud/headings-standards

Headings standard
This commit is contained in:
John Molakvoæ 2018-10-29 13:15:55 +01:00 committed by GitHub
commit c58b935bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 17 deletions

View file

@ -17,22 +17,23 @@
*/
/* BASE STYLING ------------------------------------------------------------ */
h2,
h3,
h4 {
font-weight: bold;
}
// no h1 allowed since h1 = logo
h2 {
font-weight: bold;
font-size: 20px;
margin-bottom: 12px;
line-height: 140%;
line-height: 30px;
color: var(--color-text-light);
}
h3 {
font-size: 15px;
font-size: 16px;
margin: 12px 0;
color: var(--color-text-light);
}
h4 {
font-size: 14px;
}
/* do not use italic typeface style, instead lighter color */

View file

@ -221,7 +221,6 @@ body {
}
h2 {
margin-bottom: 10px;
line-height: 150%;
}
[class^='icon-'],
[class*='icon-'] {

View file

@ -104,11 +104,6 @@ input {
display: inline-grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr;
/* Same font-weight exception as for .personal-settings-container */
> div h3 {
font-weight: 300;
}
}
.personal-show-container {
@ -224,7 +219,6 @@ select {
flex-wrap: nowrap;
justify-content: flex-start;
width: 100%;
font-weight: 300;
> label {
white-space: nowrap;
@ -319,7 +313,7 @@ select {
top: 44px;
&.popovermenu {
.menuitem {
// override h2 heading font size
// override h3 heading font size
font-size: 12.8px;
line-height: 1.6em;
.menuitem-text-detail {