-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtype.html
237 lines (203 loc) · 10.3 KB
/
type.html
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>New Theme</title>
<!-- jQuery -->
<script src="https://newspring.cc/Scripts/Bundles/RockJQueryLatest?v=04Na70l5xG-Ak3mWoqN6rMOm3L9-p3kgT_NPfUoJxck1"></script>
<!-- Bootstrap -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<!-- Typekit -->
<link rel="stylesheet" href="https://use.typekit.net/bcm6gqj.css" />
<!-- FontAwesome -->
<script src="https://kit.fontawesome.com/a0871f435c.js" crossorigin="anonymous"></script>
<!-- AOS -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
<script src="./Themes/new/Scripts/dynamic-aos-min.js"></script>
<link rel="stylesheet" href="./Themes/new/Styles/bootstrap.css" />
<link rel="stylesheet" href="./Themes/new/Styles/theme.css" />
</head>
<body>
<section class="p-0 w-100 bg-white d-grid grid-cols-2 justify-content-between align-content-center drop-shadow">
<div class="d-grid align-content-center">
<a href="/" class="px-3 mb-0">
<img src="./Themes/new/Assets/SVG/logo.svg" alt="NewSpring Church Logo" style="width: 160px; max-width: 160px" />
</a>
</div>
<div class="overflow-hidden text-right">
<a href="#" class="d-inline-block no-underline p-3 p-md-3 text-gray-darker border-solid border-l border-gray-lighter">
<i class="fa-light fa-lg fa-bars"></i>
</a>
<span class="hidden-xs hidden-sm">
<a href="#" class="d-inline-block no-underline p-3 p-md-3 text-gray-darker border-solid border-l border-gray-lighter">
<i class="fa-light fa-lg fa-location-dot"></i>
</a>
<a href="#" class="d-inline-block no-underline p-3 p-md-3 text-gray-darker border-solid border-l border-gray-lighter">
<i class="fa-light fa-lg fa-magnifying-glass"></i>
</a>
</span>
<a href="#" class="d-inline-block no-underline p-3 p-md-3 text-gray-darker border-solid border-l border-gray-lighter">
<i class="fa-light fa-lg fa-circle-user"></i>
</a>
</div>
</section>
<div class="bg-white px-5 py-7 px-md-7 py-md-8">
<div class="text-constrained mx-auto">
<p><a href="/easter.html">Easter</a></p>
<p class="pretitle">Display 1</p>
<h1 class="display-1">Through creation, the Spirit of God brought life and order into the darkness and chaos.</h1>
<p class="pretitle">Display 2</p>
<h1 class="display-2">Through creation, the Spirit of God brought life and order into the darkness and chaos.</h1>
<p class="pretitle">Display 3</p>
<h1 class="display-3">Through creation, the Spirit of God brought life and order into the darkness and chaos.</h1>
<p class="pretitle">Heading 1</p>
<h1>It’s not about the bread and wine; it’s about the body and blood of Jesus.</h1>
<p class="pretitle">Heading 2</p>
<h2>If you can’t convince yourself to turn off your smartphone, at least disable the notifications for a day.</h2>
<p class="pretitle">Heading 3</p>
<h3>Once more you find yourself trying to muster up the courage to get up, get ready, and face the week.</h3>
<p class="pretitle">Heading 4</p>
<h4>When a friend’s life has been turned upside down, the last thing they need is our prescription for a quick fix.</h4>
<p class="pretitle">Heading 5</p>
<h5>Often, pointing someone to the truth is the easy part. What’s harder is showing up.</h5>
<p class="pretitle">Heading 6</p>
<h6>Before the world was created, the Holy Spirit was hovering over the darkness of the earth.</h6>
<p class="pretitle">Pretitle</p>
<p class="pretitle text-primary">Why we do communion</p>
<p class="pretitle">Blockquote</p>
<blockquote class="text-tertiary">
<p>Every time we gather around bread and wine, in church or in our homes, we remember Jesus is the one who provides all we need.</p>
<footer>Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>
<p class="pretitle">Subtitle</p>
<p class="lead">Every time we gather around bread and wine, in church or in our homes, we remember Jesus is the one who provides all we need.</p>
<p class="pretitle">Body Copy</p>
<p>
Before the world was created, the Holy Spirit was hovering over the darkness of the earth (Genesis 1:2). He existed before the world began, long
before anyone had ever prophesied or spoken in tongues.
</p>
<p>
Through creation, the Spirit of God brought life and order into the darkness and chaos. Then, through our sin, we brought that darkness and chaos back
into the perfect world which God created (Genesis 3).
</p>
<p>
To rescue us from our sin, Jesus came to earth and paid the price for our sin. The Spirit of God came back into the sinful and chaotic world we
created, once again creating life and order by overcoming death (Romans 8:11, John 14:16-17). Before Jesus returned to heaven, He then gave this
Spirit to His followers (John 20:22).
</p>
</div>
<div class="hidden">
<ol>
<li>Minim excepteur officia non minim laboris pariatur</li>
<li>Ex est sit duis eiusmod voluptate consequat ea do enim culpa</li>
<li>Consequat dolor ullamco qui laboris consequat id aliqua</li>
<li>Eu proident aute incididunt deserunt deserunt</li>
<li>Enim ex excepteur eiusmod elit. Nulla nisi ad culpa</li>
</ol>
<p>
Aute ea eu et Lorem eu consectetur aliquip voluptate. Consectetur consectetur pariatur ad sint velit duis reprehenderit enim duis. Sunt consequat
ipsum ipsum laboris nulla eiusmod magna non proident nulla. Ex est tempor aute mollit qui. Aliquip enim occaecat amet excepteur elit officia. Eu amet
deserunt veniam aliqua elit sint ad est occaecat quis voluptate adipisicing labore in. Magna duis voluptate culpa irure.
</p>
<p>
Sunt qui nostrud ullamco aliquip sunt adipisicing ad ex dolore ipsum commodo. Laborum consectetur minim amet et tempor occaecat consequat exercitation
duis cillum exercitation. Magna velit elit ea esse nisi fugiat laborum Lorem id.
</p>
<ul>
<li>Minim excepteur officia non minim laboris pariatur</li>
<li>Ex est sit duis eiusmod voluptate consequat ea do enim culpa</li>
<li>Consequat dolor ullamco qui laboris consequat id aliqua</li>
<li>Eu proident aute incididunt deserunt deserunt</li>
<li>Enim ex excepteur eiusmod elit. Nulla nisi ad culpa</li>
</ul>
<address>
<strong>Twitter, Inc.</strong><br />
1355 Market Street, Suite 900<br />
San Francisco, CA 94103<br />
<abbr title="Phone">P:</abbr> (123) 456-7890
</address>
<address>
<strong>Full Name</strong><br />
<a href="mailto:#">first.last@example.com</a>
</address>
<div class="table-responsive">
<table class="table table-striped table-bordered">
<caption>
Optional table caption.
</caption>
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
</div>
<!-- Standard button -->
<button type="button" class="btn btn-default">Default</button>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary">Primary</button>
<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success">Success</button>
<!-- Contextual button for informational alert messages -->
<button type="button" class="btn btn-info">Info</button>
<!-- Indicates caution should be taken with this action -->
<button type="button" class="btn btn-warning">Warning</button>
<!-- Indicates a dangerous or potentially negative action -->
<button type="button" class="btn btn-danger">Danger</button>
<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
<button type="button" class="btn btn-link">Link</button>
</div>
</div>
<script>
document.addEventListener(
"DOMContentLoaded",
function () {
let pretitleElements = document.querySelectorAll(".pretitle");
for (let i = 0; i < pretitleElements.length; i++) {
let pretitle = pretitleElements[i],
nextSibling = pretitle.nextElementSibling,
computedStyle = getComputedStyle(nextSibling),
fontSize = computedStyle.fontSize,
lineHeight = computedStyle.lineHeight,
letterSpacing = computedStyle.letterSpacing,
calculatedLineHeight = Math.round((lineHeight.replace("px", "") / fontSize.replace("px", "")) * 100) / 100,
seperator = " ";
// Do stuff
console.log();
pretitle.innerHTML = pretitle.innerHTML + seperator + fontSize + seperator + calculatedLineHeight + seperator + letterSpacing;
}
},
false
);
</script>
</body>
</html>