Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/scss/content/_typography.scss

Issue 29516622: Issue 5511 - Create Product Help Home Template for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Rebase, Formatting template Created Sept. 19, 2017, 10:25 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // This file is part of help.eyeo.com.
2 // Copyright (C) 2017 Eyeo GmbH
3 //
4 // help.eyeo.com is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // help.eyeo.com is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
16
17 .h1
18 {
19 font-size: $font-size-h3;
20 line-height: 1.2;
21
22 @media (min-width: $phablet-breakpoint)
23 {
24 font-size: $font-size-h2;
25 }
26
27 @media (min-width: $tablet-breakpoint)
28 {
29 font-size: $font-size-h1;
30 }
31 }
32
33 .h4
34 {
35 font-size: $font-size-h4;
36 font-weight: $bold-weight;
37 text-transform: uppercase;
38 }
39
40 .heading-icon
41 {
42 height: 0.9em;
43 margin-right: 0.3em;
44 }
45
46 [dir="rtl"] .heading-icon
47 {
48 margin-right: 0;
49 margin-left: 0.3em;
50 }
51
52 .product-heading
53 {
54 @extend .h1;
55 @extend .section;
56 @extend .ta-center;
ire 2017/09/19 10:27:23 Do we have anything against using @extend rules?
juliandoucette 2017/09/22 13:49:14 Yes; unfortunately. But I think we aught not to.
ire 2017/09/25 07:25:28 Acknowledged.
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld