-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
200 lines (193 loc) · 5.96 KB
/
Copy pathindex.html
File metadata and controls
200 lines (193 loc) · 5.96 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Test Page: Don't Panic - Let's go!</title>
<meta charset="utf-8">
<style>
/* GLOBAL STYLES */
html, body {
margin: 0;
padding: 0;
}
h1 {
font-size: 7vw;
margin-top: 0;
}
a {
color: blue;
}
h2 {
font-size: 2em;
}
/* HERO STYLES */
.full-hero {
background-color: #c7dbfc;
height: 30vw;
width: 100vw;
}
.full-hero li {
display: inline;
}
/* SOCIAL STYLES */
.social-link {
background: rgba(150, 150, 150, 0.5);
color: rgb(255, 255, 255);
border-radius: 99px;
box-sizing: border-box;
display: inline-block;
font-family: Helvetica, arial, sans-serif;
font-size: 1rem;
font-weight: bold;
text-align: center;
text-decoration: none;
padding-top: 0.85em;
height: 2.5em;
width: 2.5em;
line-height: 1;
}
.social-list {
list-style: none;
padding: 0;
text-align: center;
}
.social-list > li {
display: inline-block;
margin: 0 0.5em 0 0.5em;
}
/* BIO STYLES */
.bio-wrapper {
font-size: 24px;
overflow: hidden;
margin: 0 auto 10%;
max-width: 960px;
}
.bio-box {
border: 1px solid black;
box-sizing: border-box;
float: left;
font-size: 1rem;
margin: 3%;
padding: 0 2%;
width: 19%;
}
.bio-box > a {
color: #1354e0;
}
.bio-box h3 {
color:#2990f0;
font-size: 1.5em;
margin: -40px 0 1em;
text-align: center;
}
.bio-box img {
width: 100%;
}
.bio-copy {
font-size: 1em;
line-height: 1.4;
}
.bio-copy a {
color: green;
}
</style>
</head>
<body>
<div class="full-hero hero-home">
<h1>I'm an h1</h1>
<ul class="social-list">
<li>
<a href="https://example.com/" class="social-link">Fb</a>
</li>
<li>
<a href="https://example.com/" class="social-link">Tw</a>
</li>
<li>
<a href="https://example.com/" class="social-link">Gh</a>
</li>
</ul>
</div>
<h2>I'm an h2</h2>
<div class="bio-wrapper">
<div class="bio-box">
<img src="http://placekitten.com/g/400/400">
<h3>Michael Hartl</h3>
<a href="https://twitter.com/mhartl" class="social-link show">here</a>
<div class="bio-copy">
<p>
Known for his dazzling charm, rapier wit, and unrivaled humility,
Michael is the creator of the
<a href="https://www.railstutorial.org/">Ruby on Rails
Tutorial</a> and principal author of the
<a href="https://learnenough.com/">
Learn Enough to Be Dangerous</a> introductory sequence. Michael
is also notorious as the founder of
<a href="http://tauday.com/">Tau Day</a> and author of
<a href="http://tauday.com/tau-manifesto"><em>The Tau
Manifesto</em></a>, but rumors that he's secretly a supervillain
are slightly exaggerated.
</p>
</div>
</div>
<div class="bio-box">
<img src="http://placekitten.com/g/400/400">
<h3>Lee Donahoe</h3>
<a href="https://twitter.com/leedonahoe" class="social-link">here</a>
<div class="bio-copy">
<p>
When he's not literally swimming with sharks or hunting powder stashes on
his snowboard, you can find Lee in front of his computer designing
interfaces, doing front-end development, or writing some of the
interface-related Learn Enough tutorials.
</p>
</div>
</div>
<div class="bio-box">
<img src="http://placekitten.com/g/400/400">
<h3>Nick Merwin</h3>
<a href="https://twitter.com/nickmerwin" class="social-link">here</a>
<div class="bio-copy">
<p>
You may have seen him shredding guitar live with Capital Cities on Jimmy
Kimmel, Conan, or The Ellen Show, but rest assured Nick is a true nerd at
heart. He's just as happy shredding well-spec'd lines of code from a tour
bus as he is from his kitchen table.
</p>
</div>
</div>
<div class="bio-box">
<img src="http://placekitten.com/g/400/400">
<h3>??</h3>
<p>
The Future
</p>
</div>
</div>
<p style="clear: left;">
Learn Enough to Be Dangerous is a leader in the movement to teach the
world <em>technical sophistication</em>, which includes both "hard
skills" like coding, command lines, and version control, and "soft
skills" like guessing keyboard shortcuts, Googling error messages, and
knowing when to just reboot the darn thing.
</p>
<p>
We believe there are <strong>at least a billion people</strong> who can
benefit from learning technical sophistication, probably more. To join
our movement,
<a href="https://learnenough.com/#email_list">sign up for our official
email list</a> now.
</p>
<h3>Background</h3>
<p>
Learn Enough to Be Dangerous is an outgrowth of the
<a href="https://www.railstutorial.org/">Ruby on Rails Tutorial</a> and the
<a href="https://www.softcover.io/">Softcover publishing platform</a>.
This page is part of the sample site for
<a href="https://learnenough.com/css-tutorial"><em>Learn Enough CSS and
Layout to Be Dangerous</em></a>, which teaches the basics of
<strong>C</strong>ascading <strong>S</strong>tyle
<strong>S</strong>heets, the language that allows web pages to be styled.
Other related tutorials can be found at
<a href="https://learnenough.com/">learnenough.com</a>.
</p>
</body>
</html>