Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
174 lines (153 loc) · 3.75 KB
/
Copy pathindex.html
File metadata and controls
174 lines (153 loc) · 3.75 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
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="https://production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" />
<link rel="mask-icon" type="" href="https://production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" />
<title> Portfolio Work </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/**
* Vertical align anything with 3 lines of CSS (excluding vendor prefixes)
*
* .element {
* position: relative;
* top: 50%;
* transform: translateY(-50%);
* }
* --------------------------------------
*/
@import url('https://fonts.googleapis.com/css?family=Lobster');
.text p {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.websites {
text-align: center;
margin: 0 auto;
text-decoration: none;
}
.image img {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.block-of-text p {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
/* ====================================
Base styling, to make the demo more fancy
==================================== */
body {
font-family: 'Lobster', cursive;
background: #2C3D51;
padding: 1em;
-webkit-font-smoothing: antialiased;
}
h1 {
text-align: center;
color: white;
font-weight: 300;
margin: 0.5em 0 1em 0;
}
h2 {
text-transform: uppercase;
margin: 0;
font-size: 16px;
position: absolute;
top: 5px;
right: 5px;
font-weight: bold;
color: #ECF0F1;
}
section {
display: block;
max-width: 500px;
background: #E74C3C;
margin: 0 auto 1em;
height: 150px;
border-radius: .2em;
position: relative;
color: white;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
section img, section p {
padding: .25em;
margin: 0;
float: center;
margin-left: auto;
margin-right: auto;
display: block;
}
.image {
position: relative;
top: 50%;
transform: translateY(-50%);
}
.block-of-text {
height: 220px;
}
.read-more {
text-align: center;
color: white;
font-size: 12px;
margin-top: 3em;
}
.read-more a {
text-decoration: none;
color: #E74C3C;
}
a {
color: #00FF76;
}
</style>
</head>
<body translate="no" >
<!--
_____
|_ _| ___
| | / _ \
| | | (_) |
|_| \___/
_ _
| | | | __ _ _ _
| |_| | / _` | | | | | _____
| _ | | (_| | | |_| | |_____|
|_| |_| \__,_| \__, |
|___/
____
| _ \ ___ _ __
| | | | / _ \ | '_ \
| |_| | | __/ | | | |
|____/ \___| |_| |_|
Here's to never forgetting.
--><h1> Portfolio Work </h1>
<section class="text" class="block-of-text" class="websites">
<h2>Website 1</h2>
<p><a href="#">The HomePage</a></p>
</section>
<section class="block-of-text" class="websites">
<h2>Website 4</h2>
<p> <a href="javascriptjoe.github.io/PSA/index.html"> PSA over ToS </a></p>
</section>
<section class="block-of-text" class="websites">
<h2>Website 5</h2>
<p> <a href="javascriptjoe.github.io/dice.html"> JS and CSS Dice </a></p>
</section>
<section class="block-of-text" class="websites">
<h2>Website 7</h2>
<p> <a href="javascriptjoe.github.io/clor_clock/index.html"> Color Clock</a></p>
</section>
</body>
</html>