-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
265 lines (211 loc) · 8.53 KB
/
index.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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!doctype html>
<html>
<head>
<!--The meta tag is used by browser fro how to display content and how to find in the search ingine-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Andason Okinyi">
<meta name="revised" content="23/06/2020">
<meta name="description" content="Portfolio website -Andason Okinyi">
<meta name="keywords" content="Portfolio, CV, Photo, Andason">
<title>Andason Okinyi</title>
<!--Importing javascript and css from external file-->
<script type="text/javascript" src="javaScript/datetime.js"></script>
<link href="css/index_style.css" rel="stylesheet">
<!--this internal css is all about the slide show contents-->
<style type="text/css">
/* slide show background*/
.slideshow-box {
padding-left: -10px;
max-width: auto;
position: absolute;
border-radius: .1em;
height: 465px;
top: 0;
width: 60%;
margin-top: 130px;
margin-left: -15px;
}
/*it holds the photos */
.slideItems {
margin-top: 20px;
margin-left: 0;
border-radius: .0em;
display: flex;
width: 135%;
}
/*it gives the style for sliding photos*/
.photo{
width:81%;
height: 460px;
border-radius: 1em ;
border-color: #9999ff;
float: left;
margin-left: -9px;
}
/*this is for photos caption which is shown below the slider photos*/
.caption {
color: white;
text-transform: capitalize;
font-size: 30px;
padding: 8px 12px;
position: absolute;
font-family: cursive;
top: 400px;
background-color: #30465d;
opacity: .3;
width: auto;
text-align: center;
border-radius: .5em;
left: left;
margin-left: 20px;
}
.caption:hover {
opacity: .5;
cursor: pointer;
}
.back, .next {
cursor: pointer;
position: absolute;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 25px;
transition: 1s ease-in;
border-radius: 0 3px 3px 0;
}
.next {
top: 55%;
color: gray;
background-color: transparent;
right: -55px;
border-radius: 0px 5px 5px 0px;
}
.back {
top: 55%;
color: gray;
background-color: transparent;
left: 10px;
border-radius: 5px 0 0 5px;
}
.back:hover, .next:hover {
background-color: #ffff;
}
/* number of slides contents */
.count {
color:gray;
font-size: 12px;
padding: 20px 15px;
position: absolute;
top: 20px;
}
/*slider photo fade out in every 2 second*/
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 2s;
}
@-webkit-keyframes fade {
from {
opacity: .9
}
to {
opacity: 1
}
}
</style>
</head>
<body>
<header id="header1">Andason Okinyi</header>
<!--this is the navigation bar of home page-->
<div id="navBar">
<div class="menus"><a href="webPages/contact.html">Contact</a></div>
<!-- <div class="menus"><a href="webPages/research.html">Research</a></div> -->
<div class="menus"><a href="webPages/gallery.html">Gallery</a></div>
<div class="menus"><a href="webPages/blog.html">Blog</a></div>
<div class="menus"><a href="webPages/portfolio.html">Portfolio</a></div>
<div class="menus"><a href="index.html"> <span style="color: #0F0;">Home</span></a></div>
<div class="menus"><a href="https://github.com/opanga77" target="_blank">Repositories</a></div>
<div class="name"><p id="date"></p>
<script type="text/javascript">
display_date();
</script>
</div>
</div>
<!--this is the main body part of home page-->
<div class="body" style="display: flex;">
<!--this is left section where slider is shown-->
<div class="leftSide">
<div class="contentBlock" style="background-image: url(media/banner-8.jpeg);">
<div class="slider" >
<div class="slideshow-box">
<div class="slideItems fade">
<div class="count">1 of 4</div>
<img src="Images/stopspread.png" class="photo">
<div class="caption">In order to be irreplaceable, one must always be different</div>
</div>
<div class="slideItems fade">
<div class="count">2 of 4</div>
<img src="Images/distance.jpeg" class="photo">
<div class="caption">Fix the cause, not the symptom</div>
</div>
<div class="slideItems fade">
<div class="count">3 of 4</div>
<img src="Images/anders1.jpg" class="photo">
<div class="caption">I'm not a great programmer; I'm just a good programmer with great habits</div>
</div>
<div class="slideItems fade">
<div class="count">4 of 4</div>
<img src ="Images/mask.jpeg" class="photo">
<div class ="caption">The most important property of a program is whether it accomplishes the intention of its user</div>
</div>
<a class="back" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
<!--This javascript is used for sliding the content horizently .-->
<script type="text/javascript">
var slideIndex = 0;
slideShow();
function slideShow() {
var i;
var slide = document.getElementsByClassName("slideItems");
for (i = 0; i < slide.length; i++) {
slide[i].style.display = "none";
}
slideIndex++;
if (slideIndex > slide.length) {
slideIndex = 1
}
slide[slideIndex - 1].style.display = "block";
setTimeout(slideShow, 4000); // content changing time
}
</script>
</div>
</div>
</div>
</div>
<!--this is right section of the full page where has welcome message division and featured blog section-->
<div class="rightSide">
<div class="contentBlock" style="background-image: url(media/banner-8.jpeg); color: white;"><br><br>
<p style="font-family: cursive; font-size: 15px;">
<center> <h1>Hello Visitors!</h1></center>
<br>You are Welcome to my Portfolio.<br>
<br>I am Andason Okinyi and I am student of software development at <span style="color: red;">M</span>oR<span style="color: red;">i</span>N<span style="color: blue;">gA </span> School.
<br><br>Making a beautiful website and coding a strong program is my work. that's all about me.<br><br>
<center><button style="font-size: 25px; font-weight : bold; width: 220px; cursor: pointer;" onclick="window.location.href='webPages/portfolio.html'">See My Portfolio</button><br><br>
</p>
</div>
<div class="contentBlock" style="background-image: url(media/banner-8.jpeg); color: white;">
<h1>Featured Blog</h1>
<p>In the recent world, technology is developing at a very fast pace and people from different fields of the world are being benefited with the advancement of technology.
<a href="webPages/blog.html">>>see more</a></p>
</div>
</div>
</div>
<!--this is the footer section of every page-->
<footer>
<div id="footer"><center>© 2020 All Rights Reserved. <a style="text-decoration: none; color: #708090;" href="../index.html"> Okeno Andason Okinyi</a><br><a class="email" href="tel:+254768643095">Contact No.:+254768643095</a><br><a class="email" href="mailto:andersoking77@gmail.com">Email:andersoking77@gmail.com</a></center>
</div>
</footer>
</body>
</html>