~kl/systemstack

ref: 6481dbe51373f03455ef4891f0409047127ba444 systemstack/assets/sass/components/_article.scss -rw-r--r-- 2.8 KiB
6481dbe5 — Kevin Lipe add blocks for fonts and footers 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* ==========================================================================
   Article
   ========================================================================== */

.c-article {
    margin-bottom: 4rem; // 40px
}

.c-article__header {
    margin-bottom: 2.5rem; // 25px
    @media screen and (min-width: $bp__sm) {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: baseline;
        -webkit-align-items: baseline;
            -ms-flex-align: baseline;
                align-items: baseline;
    }
    border-bottom: 1px solid $c-base__1;
}

.c-article__title {
    @include fs--article-title;
    color: $c-base__02;
}

.c-article__time {
    @include ff--sans-serif;
    color: $c-base__01;
    line-height: 1.5;
    font-size: 1.8rem; // 18px
}

.c-article__main {
    margin-bottom: 4rem; // 40px
    @include fs--body;
    color: $c-base__02;

    > * {
        margin-bottom: 1.8rem; // 18px
    }

    h2 {
        @include fs--heading-2;
    }

    h3 {
        @include fs--heading-3;
        color: $c-base__02;
    }

    h4 {
        @include fs--heading-4;
        color: $c-base__01;
    }

    h5 {
        @include fs--body;
        color: $c-base__01;
    }

    strong {
        color: $c-base__02;
        font-weight: 700;
    }

    blockquote {
        margin-left: 0;
        margin-right: 0;
        padding-left: 1.8rem; // 18px
        border-left: 5px solid #ccc;
    }

    ul,
    ol {
        margin-left: 2.1rem;
    }

		.web-container {
			position: relative;
			width: 100%;
			max-width: 100%;
			height: 0;
			padding-bottom: 62.5%;
			border: 1px solid #cacaca;
			overflow: hidden;
		}

		.web-container iframe {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			max-width: 100%;
			height: 100%;
		}

    div.footnotes {
        font-size: 85%;
    }
}

.c-article__details {
  @include ff--sans-serif;
  color: $c-base__1;
  width: 100%;
  text-align: center;
  border: 1px solid LightGrey;
  border-left-color: transparent;
  border-right-color: transparent;
  font-size: 18px;
  line-height: 25px;
  overflow: hidden;
  margin-bottom: 2em;
  padding: 1em 0;
}

small {
    padding-bottom: 1rem;
}

.wrapper {
  padding: 10px;
  border: 1px solid LightGrey;
  display: inline-block;
  margin: 0 auto;
}

#left {
  float: left;
  text-align: left;
}

#right {
  float: right;
  text-align: right;
}

.footnotes {
    margin-top: 2rem;
    border-top: 1px solid $c-base__1;

    ol {
        padding-top: 2rem;
    }
}