-
Notifications
You must be signed in to change notification settings - Fork 0
/
Solve Index Page
182 lines (160 loc) · 4.58 KB
/
Solve Index Page
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
<html>
<head>
<meta charset="utf-8">
<title>SOLVE | Solve community problems through collaboration</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
}
header {
background-image: url('../img/bar-people.jpg'); /* unsplash.com */
background-attachment: fixed;
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
text-align: center;
color: #eee;
padding-bottom: 150px;
}
nav {
margin-bottom: 100px;
background-color: rgba(0,0,0,.7);
padding: 1.5rem 1.65rem 3rem;
}
nav li {
list-style: none;
display: inline-block;
}
nav a {
font: bold 1.5rem/1em Raleway,sans-serif;
color: #eee;
text-decoration: none;
transition: .2s;
}
nav a:hover {
text-decoration: underline;
}
.left {
float: left;
}
.right {
float: right;
}
.right li {
margin: 0 1rem;
}
.right li:last-child {
margin-right: 0;
}
h1, h2, h3 {
font-family: Raleway,sans-serif;
line-height: 1.5em;
}
h1 {
font-size: 5rem;
margin-bottom: 1rem;
}
h2 {
font-size: 2rem;
margin-bottom: .5rem;
}
.header-slider {
width: 60%;
margin: 15px auto;
}
.dark-bg {
border: none;
}
.dark-bg a {
display: block;
text-decoration: none;
font: bold 1.15rem/1em Raleway,sans-serif;
color: #eee;
background: #e1486c;
padding: 1rem;
border-bottom: 3px solid #bd1f44;
border-top: 0px solid #7b142c;
transition: .2s;
}
.dark-bg a:hover, .dark-bg a:active {
background: #bd1f44;
border-bottom: 3px solid #7b142c;
}
.dark-bg a:active {
border-bottom: 0px solid #7b142c;
border-top: 3px solid #7b142c;
}
section {
background: #E3FDFF;
padding: 5% 5% 0;
}
.container {
background: #fff;
width: 80%;
margin: 0 auto;
padding: 3.5rem;
box-shadow: -1px -1px .5rem #aaa;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li class="left">
<a href="/" class="title">SOLVE</a>
</li>
<ul class="right">
<li><a href="/about">ABOUT</a></li>
<li><a href="https://we-hack-too-shan3011.c9users.io/mainProblemPage.html">PROBLEMS</a></li>
</ul>
</ul>
</nav>
<h1>
<span class="title">SOLVE</span><br>
<img src="img/logo-white.png" alt="Solve logo">
</h1>
<div class="header-slider">
<div class="slide">
<h2>Let the <u>best</u> tackle your problem</h2>
<button class="dark-bg"><a href="https://we-hack-too-shan3011.c9users.io/addnew.html?">Post your problem</a></button>
</div>
<div class="slide">
<h2>Change the world by <u>empowering communities</u></h2>
<button class="dark-bg"><a href="https://we-hack-too-shan3011.c9users.io/mainProblemPage.html">Solve problems</a></button>
</div>
<div class="slide">
<h2>Connect with the <u>brightest minds</u> in the world</h2>
<button class="dark-bg"><a href="#demo">See how it works</a></button>
</div>
</div>
</header>
<section id="demo">
<h3>Post any problem.</h3>
<div class="container">
<h4 class="problem-name">Excess plastic waste</h4>
<h4 class="problem-name">Axolotls going extinct</4>
<h4 class="problem-name">Polluted water in U.S.</4>
</div>
<h3>Solve any problem.</h3>
<div class="container">
<h4 class="problem-name">We can reduce plastic waste by reducing plastic bags</h4>
<h4 class="problem-name">We can stop the oil spills</4>
<h4 class="problem-name">We can organize local communities to focus on thsi issue</4>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
<script>
$(document).ready(function(){
$('.header-slider').slick({
autoplay: true,
autoplaySpeed: 5000
})
});
</script>
</body>
</html>