-
Notifications
You must be signed in to change notification settings - Fork 14
/
home.html
executable file
·182 lines (156 loc) · 3.76 KB
/
home.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
---
profile: false
title: "Welcome to Code and Coffee, Long Beach"
---
<!-- load our fonts -->
<link href='https://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>
<style>
/**
* HERO styles
* -------------
* These styles govern the hero of the page, which,
* at least at the moment, contains a video, logo,
* title, and description.
*/
#hero {
position: relative;
top:0;
left:0;
width:100%;
height:calc(100%);
z-index:0;
-webkit-box-shadow: 10px 5px 81px -5px rgba(122,115,122,1);
-moz-box-shadow: 10px 5px 81px -5px rgba(122,115,122,1);
box-shadow: 10px 5px 81px -5px rgba(122,115,122,1);
}
/* thin layer of darkened opacity on top of the video */
#hero > .backdrop {
z-index:2;
top:0;
left:0;
width:100%;
height:100%;
position:absolute;
}
/* the container surrounding the video (necessary to maintain a full-screen stretch) */
#hero .videoContainer
{
position:absolute;
height:100%;
width:100%;
overflow: hidden;
}
/* the actual video player */
#hero .videoContainer video {
min-width: 100%;
min-height: 100%;
}
/* the wrapper around our logo, title, and description */
#hero .header-content {
position: absolute;
top: calc(50% - 117px);
width: 100%;
text-align: center;
color: white;
z-index:3;
}
/* logo container */
#hero .hero-logo {
background: transparent;
z-index: 1;
font-size: 10px;
display:inline-block;
}
/* logo */
#hero .hero-logo pre {
background: transparent;
font-size: 2px;
}
/**
* Framework mods
* -------------
* These are modifications to the existing framework
* we are using.
*/
/* hide the current logo (replacing it in the hero) */
#floatinglogo {
display: none;
}
/* make adjustments to the header */
nav.main-nav {
top: 0;
width: 100%;
position:absolute;
background:transparent;
}
/* the wrapper contains all content on our page. By default,
this element is compounded with margins and width-limitations
that need to be overriden to accomplish a full-screen model. */
#wrapper {
height: 100%;
width: 100%;
max-width: none;
padding: 0;
}
/* To maintain the dimensions that govern the wrapper outside of our hero,
I have replicated the wrapper's original behavior within the post-body-wrapper,
which containes all elements beneath the hero. */
#post-body-wrapper {
max-width: 600px;
margin: 0 auto;
padding: 60px 40px 100px 40px;
}
/* At tablet size, i decided to move the header off of the hero and into the post body.*/
#tablet-header {
display:none;
text-align:center;
margin-top:50px;
margin-bottom:100px;
}
/* title */
#tablet-header h1 {
color:#584E4E;
font-size:40px;
font-family: Raleway;
}
/* description */
#tablet-header p {
color:#B3B3B3;
}
/**
* Responsive styles
* -----------------
* These styles govern what elements need to change at different screen restraints.
**/
@media screen and (max-width: 540px) {
/* Shrink the hero down in height */
#hero {
height:50%;
}
/* hide everything in the hero content except the logo */
#hero .header-content h1, #hero .header-content p {
display:none;
}
/* show the tablet header */
#tablet-header {
display:block;
}
}
</style>
<div id='hero' class="background--yellow">
<div class='backdrop'></div>
<div class='header-content'>
<div class='hero-logo'>
<img class="logo--code-and-coffee"src="assets/images/code-and-coffee-logo.svg" alt="Code and Coffee Logo">
</div>
<h1 class="heading heading--black">code + coffee / long beach</h1>
<p class="text text--black">
weekly meetups online, from 10:30am to 2:30pm (US Pacific time)
<br>
<a class="text--orange" href="https://www.meetup.com/code-and-coffee-long-beach/">RSVP on Meetup</a>
</p>
</div>
</div>
<div id='post-body-wrapper'>
{% include follow.html %}
</div>