Clean up the h1 styling mess
All checks were successful
the build was successful

This commit is contained in:
Reinhard Müller 2019-03-20 17:38:59 +01:00
parent e2ea0f87bb
commit adb9e4a4db
18 changed files with 61 additions and 68 deletions

View File

@ -39,8 +39,8 @@
</style>
</head>
<body class="press" id="press-room">
<h1 class="heading">Mach mit!</h1>
<body class="toplevel">
<h1>Mach mit!</h1>
<div id="introduction">
<p>

View File

@ -36,8 +36,8 @@
</style>
</head>
<body class="press" id="press-room">
<h1 class="heading">Contribute</h1>
<body class="toplevel">
<h1>Contribute</h1>
<div id="introduction">

View File

@ -36,8 +36,8 @@
</style>
</head>
<body class="press" id="press-room">
<h1 class="heading">Osallistu</h1>
<body class="toplevel">
<h1>Osallistu</h1>
<div id="introduction">

View File

@ -36,8 +36,8 @@
</style>
</head>
<body class="press" id="press-room">
<h1 class="heading">Partecipa</h1>
<body class="toplevel">
<h1>Partecipa</h1>
<div id="introduction">

View File

@ -36,8 +36,8 @@
</style>
</head>
<body class="press" id="press-room">
<h1 class="heading">Doe mee</h1>
<body class="toplevel">
<h1>Doe mee</h1>
<div id="introduction">

View File

@ -5,7 +5,7 @@
<title>Spenden - FSFE</title>
</head>
<body id="donate-fsfe" class="article">
<body class="toplevel article">
<h1>Spenden</h1>
<div id="introduction">

View File

@ -5,7 +5,7 @@
<title>Donate - FSFE</title>
</head>
<body id="donate-fsfe" class="article">
<body class="toplevel article">
<h1>Donate</h1>
<div id="introduction">

View File

@ -5,7 +5,7 @@
<title>Dona ora! - FSFE</title>
</head>
<body id="donate-fsfe" class="article">
<body class="toplevel article">
<h1>Dona</h1>
<div id="introduction">

View File

@ -5,7 +5,7 @@
<title>Doneer - FSFE</title>
</head>
<body id="donate-fsfe" class="article">
<body class="toplevel article">
<h1>Doneer</h1>
<div id="introduction">

File diff suppressed because one or more lines are too long

6
look/fsfe.min.css vendored

File diff suppressed because one or more lines are too long

2
look/ie.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -48,6 +48,11 @@ q, .en q {
/* Typography */
h1 {
.page-header;
color: @brand-strong;
}
h1, h2, h3, h4 {
font-weight: 300;
}
@ -435,10 +440,6 @@ div#subpages, .grid-row {
#content {
h1 {
.page-header;
}
aside {
@media (min-width: @screen-md-min) {
float: right;
@ -620,6 +621,27 @@ div#subpages, .grid-row {
/* style specific to certain pages */
.toplevel {
#category {
display: none;
}
h1 {
background: lighten(@brand-primary,20%);
color: #FFF;
text-shadow: 0px 1px 2px @brand-strong;
display: block;
min-width: 200px;
padding: .5em;
margin: -0.5em -0.2em 0.5em;
border: 0;
@media (min-width: @screen-sm-min) {
width: 50%;
margin: -1em 0 1em 0;
}
}
}
.full-width {
/* For very particular pages where you need as wide as possible */
#main {
@ -628,18 +650,16 @@ div#subpages, .grid-row {
}
.frontpage, .subsite, .full-width {
#content {
max-width: none;
}
}
.article {
#content {
display: inline-block;
.p-name, h1 {
.p-name {
color: @brand-strong;
}
}
@ -682,10 +702,6 @@ div#subpages, .grid-row {
}
}
.country.frontpage, #donate-fsfe, #press-room {
.toplevel;
}
.press.release {
.article;
}
@ -728,25 +744,11 @@ div#subpages, .grid-row {
}
.subsite {
.toplevel;
#content {
.make-row;
.heading {
background: lighten(@brand-primary,20%);
color: #FFF;
text-shadow: 0px 1px 2px @brand-strong;
display: block;
min-width: 200px;
padding: .5em;
margin: -0.5em -0.2em 0.5em;
border: 0;
@media (min-width: @screen-sm-min) {
width: 50%;
margin: -1em 0 1em 0;
}
}
#introduction {
.make-xs-column(12);
.make-sm-column(4);
@ -817,15 +819,6 @@ div#subpages, .grid-row {
}
.toplevel {
#content {
h1, .heading { .subsite #content .heading; }
}
#category {
display: none;
}
}
/* followup boxes */

File diff suppressed because one or more lines are too long

View File

@ -21,8 +21,8 @@
</style>
</head>
<body class="press" id="press-room">
<h1 class="heading">Presse</h1>
<body class="toplevel">
<h1>Presse</h1>
<!-- for the following two paragraphs, please have a look at http://fsfe.org/about/mission -->

View File

@ -29,8 +29,8 @@
</head>
<body class="press" id="press-room">
<h1 class="heading">Press</h1>
<body class="toplevel">
<h1>Press</h1>
<div id="introduction">
<!-- for the following two paragraphs, please have a look at http://fsfe.org/about/mission -->

View File

@ -29,8 +29,8 @@
</head>
<body class="press" id="press-room">
<h1 class="heading">Stampa</h1>
<body class="toplevel">
<h1>Stampa</h1>
<div id="introduction">
<!-- for the following two paragraphs, please have a look at http://fsfe.org/about/mission -->

View File

@ -29,8 +29,8 @@
</head>
<body class="press" id="press-room">
<h1 class="heading">Pers</h1>
<body class="toplevel">
<h1>Pers</h1>
<div id="introduction">
<!-- for the following two paragraphs, please have a look at http://fsfe.org/about/mission -->