Commit 93c6556d authored by alexpott's avatar alexpott

Issue #2028053 by vegantriathlete, franxo, InternetDevels, thamas, rootwork,...

Issue #2028053 by vegantriathlete, franxo, InternetDevels, thamas, rootwork, LewisNyman: Add typographic styles, components, and utility classes.
parent 42ceecab
......@@ -176,6 +176,7 @@ public function testRebuildThemeData() {
$this->assertEquals(array(
'screen' => array(
'css/base/elements.css' => DRUPAL_ROOT . '/core/themes/seven/css/base/elements.css',
'css/base/typography.css' => DRUPAL_ROOT . '/core/themes/seven/css/base/typography.css',
'css/components/admin-list.css' => DRUPAL_ROOT . '/core/themes/seven/css/components/admin-list.css',
'css/components/admin-options.css' => DRUPAL_ROOT . '/core/themes/seven/css/components/admin-options.css',
'css/components/admin-panel.css' => DRUPAL_ROOT . '/core/themes/seven/css/components/admin-panel.css',
......
......@@ -35,24 +35,38 @@ h2,
h3,
h4,
h5,
h6 {
h6,
.header-a,
.header-b,
.header-c,
.header-d,
.header-e,
.header-f {
font-weight: bold;
margin: 10px 0;
}
h1 {
h1,
.header-a {
font-size: 1.538em;
}
h2 {
h2,
.header-b {
font-size: 1.385em;
}
h3 {
h3,
.header-c {
font-size: 1.231em;
}
h4 {
h4,
.header-d {
font-size: 1.154em;
}
h5,
h6 {
.header-e {
font-size: 1.077em;
}
h6,
.header-f {
font-size: 1.077em;
}
p {
......
/**
* Reusable utility classes that apply vertical spacing consistency and in line
* with the base line height of Seven.
*/
.leader {
margin-top: 20px;
margin-top: 1.538rem;
}
.leader-double {
margin-top: 40px;
margin-top: 3.076rem;
}
.leader-triple {
margin-top: 60px;
margin-top: 4.614rem;
}
.leader-quadruple {
margin-top: 80px;
margin-top: 6.152rem;
}
.trailer {
margin-bottom: 20px;
margin-bottom: 1.538rem;
}
.trailer-double {
margin-bottom: 40px;
margin-bottom: 3.076rem;
}
.trailer-triple {
margin-bottom: 60px;
margin-bottom: 4.614rem;
}
.trailer-quadruple {
margin-bottom: 80px;
margin-bottom: 6.152rem;
}
......@@ -10,6 +10,7 @@ core: 8.x
stylesheets:
screen:
- css/base/elements.css
- css/base/typography.css
- css/components/admin-list.css
- css/components/admin-options.css
- css/components/admin-panel.css
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment