-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex1.html
238 lines (211 loc) · 9.81 KB
/
index1.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
238
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<title>EXAMPLE 1 - News Website</title>
</head>
<style>
/* Custom CSS Stylesheet */
/* This is the same stylehseet from the original template with some minor changes. Added directly to HTML in the examples for easier viewing. */
/* Head (Top of Page) */
.jumbotron {
padding: 30px;
background-image: linear-gradient(to right, #bd97d3, #3046C5, #04aaaa);
color: rgb(70, 68, 68);;
margin: 0;
}
.row-content {
padding: 0;
border-bottom: 1px ridge;
min-height: 200px;
}
/* Logo */
.logo {
width: 8%;
height: auto;
margin-left: 55%;
}
/* Top Navigation Bar */
.navbar {
background-color: cornflowerblue;
}
li a {
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-weight: bolder;
font-size: larger;
}
form .form-inline {
float: right;
width: 300px;
padding: 0.3px;
text-align: center;
margin: 5.2px;
background-color: whitesmoke;
}
ul li:last-child {
position: absolute;
right: 0;
top: 0;
margin: 15px;
padding: 0;
}
/* Headers */
.topStoriesHeader {
padding-top: 15px;
}
/*Grid Positioning
#fixedGrid {
position: absolute;
bottom: 0;
right: 0;
}*/
/* Sizing Carousel Images */
.carousel-inner {
width:100%;
max-height: 400px;
margin-top: 2%;
margin-right: 1%;
}
</style>
<header class="jumbotron jumbotron-fluid m-0">
<div class="container-fluid">
<div class="row">
<div class="align-self-center">
<h1>News Website</h1>
<h4 class="text-justify"> News Website Example.</h4> <br>
<h6 class="text-justify">Example of a news website.</h6>
</div>
<div class="logo d-none d-lg-block">
<a href=""><img src="" class="img-fluid rounded" /></a> <!---AHAHAHAHAHAHAHAHAHAHAHAHAH-->
</div>
</div>
</div>
</header>
<nav class="navbar navbar-expand-lg navbar-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="mainNavbar">
<ul class="navbar-nav">
<li class="nav-item active"><a class="nav-link" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#localnews">Local</a></li>
<li class="nav-item"><a class="nav-link" href="#statenews">State News</a></li>
<li class="nav-item"><a class="nav-link" href="#nationalnews">National News</a></li>
<li class="nav-item"><a class="nav-link" href="#worldnews">World News</a></li>
<li class="nav-item"><a class="nav-link" href="#nature">Nature</a></li>
<li class="nav-item"><a class="nav-link" href="#edu">Education</a></li>
<li class="nav-item"><a class="nav-link" href="#sports">Sports</a></li>
<li class="nav-item"><a class="nav-link" href="#ent">Entertainment</a></li>
<li class="nav-item"><a class="nav-link" href="#tech">Technology</a></li>
<li class="nav-item"><a class="nav-link" href="#art">Art</a></li>
<!--<li class="nav-item"><a class="nav-link" href="Other.html">Other</a></li>-->
<li class="nav-item"><a class="nav-link" href="#all">All News</a></li>
<!--<li class="nav-item"><a class="nav-link" href="#about">About</a></li>-->
<li>
<form class="form-inline">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-primary my-2 my-sm-0" type="submit">Search</button>
</form>
</li>
</ul>
</div>
</nav>
<body>
<!--Bootstrap Grid-->
<div class="container-flex">
<div class="row">
<div class="col">
<!--Vertical line of cards (currently set as "Top Stories") that will by default show up on small screens as priority.-->
<div class="container-flex" style="margin-left: 5.5%;">
<h2 class="topStoriesHeader" style="margin-top: 2%;">
<span class="border border-primary rounded">
Top Stories This Week
</h2>
</span>
</div>
<!--Card 1-->
<div class="container-flex" style="margin-left: 1.5%;">
<div class="card" style="width: 22rem; margin-top: 2%;">
<!--<img class="card-img-top" src="..." alt="Card image cap">-->
<div class="card-body">
<h5 class="card-title">Voiding The Println</h5>
<p class="card-text">How often these days do you find yourself picking up a newspaper for up to date stories?
Once a week? A month? Ever? Digital articles may be the only way forward.
</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<!--Card 2-->
<div class="container-flex" style="margin-left: 2%;">
<div class="card" style="width: 22rem; margin-top: 2%;">
<!--<img class="card-img-top" src="..." alt="Card image cap">-->
<div class="card-body">
<h5 class="card-title">Report: Polling Shows Data</h5>
<p class="card-text">Data allows us to track progress and measure results but our most recent
polling shows data that lead to a report about the data from our polling...
.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<!--Card 3-->
<div class="container-flex" style="margin-left: 2%;">
<div class="card" style="width: 22rem; margin-top: 2%;">
<!--<img class="card-img-top" src="..." alt="Card image cap">-->
<div class="card-body">
<h5 class="card-title">Ink Inc.</h5>
<p class="card-text">Ink is an important tool for communication and artistic expression, and it has a long history
dating back thousands of years. Has it ever been more inaccessible? </p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<!--Card 4-->
<div class="container-flex" style="margin-left: 2%;">
<div class="card" style="width: 22rem; margin-top: 2%;">
<!--<img class="card-img-top" src="..." alt="Card image cap">-->
<div class="card-body">
<h5 class="card-title">Buisness Looking Back</h5>
<p class="card-text">The marketing tactics of todays comapnies have evolved in ways far more
extreme than what we coul've predicted. From magazine adverts to precision analytics...
</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
<!--Carousel for larger screens-->
<div class="col-6">
<div id="carouselExampleIndicators" class="carousel slide d-none d-lg-block" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100"
src="images/(Carousel 3) jonny-gios-wcJ4kwwDP0s-unsplash - Copy.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="images/(Carousel 2) dmitriy-k-2OTkD_1H86E-unsplash.jpg"
alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="images/(Carousel 1) alfaz-sayed-xv1qtGAvPp8-unsplash.jpg"
alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>