mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Merge pull request #11993 from nextcloud/headings-standards
Headings standard
This commit is contained in:
commit
c58b935bf5
3 changed files with 11 additions and 17 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -221,7 +221,6 @@ body {
|
|||
}
|
||||
h2 {
|
||||
margin-bottom: 10px;
|
||||
line-height: 150%;
|
||||
}
|
||||
[class^='icon-'],
|
||||
[class*='icon-'] {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue