-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
177 lines (151 loc) · 3.53 KB
/
Copy pathindex.html
File metadata and controls
177 lines (151 loc) · 3.53 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
175
176
177
<!DOCTYPE HTML>
<html>
<head>
<title>Shyanneringue Home</title>
<style>
body {
background: rgb(70, 106, 132);
/* background color of site */
color: rgb(26, 28, 17);
/* text color in white box */
padding: 10px;
font-family: "Courier New", "Lucida Console", "Monaco";
}
#all-contents {
max-width: 800px;
margin: auto;
}
/* navigation menu */
nav {
background: rgb(26, 28, 17);
/* color of brown box on top */
margin: 0 auto;
margin-bottom: 20px;
display: flex;
padding: 9px;
border: 2px ridge rgb(26, 28, 17);
border-radius: 20px;
}
h1 {
display: flex;
align-items: center;
color: rgb(208, 195, 172);
/* color of nothing? */
flex: 1;
margin: 0;
}
#nav-ul {
list-style-image: none;
}
.nav-li {
display: inline-block;
padding: 0 10px;
}
a {
text-decoration: none;
color: rgb(164, 160, 131);
/* color of nothing? */
}
/* main container area beneath menu */
main {
background: rgb(222, 222, 222);
/* inside color of white box */
display: flex;
border: 15px solid rgb(222, 222, 222);
/* outside border color of white box */
border-radius: 4px;
}
.sidebar {
margin-right: 25px;
padding: 10px;
}
.sidebar-img {
width: 200px;
border: 4px ridge rgb(164, 160, 131);
/* border of dan img */
border-radius: 8px;
}
.content {
flex: 1;
padding: 15px;
}
#interests {
border: 4px ridge rgb(164, 160, 131);
padding: 5px;
border-radius: 5px;
}
h2,
h3 {
margin: 0px;
}
#all-contents {
max-width: 800px;
margin: auto;
}
.logoSZI {
width: 20%;
height: 65%;
}
button {
background-color: transparent;
border: none;
padding: 0;
color: rgb(70, 106, 132);
}
</style>
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://code.jquery.com/jquery-git.js"></script>
</head>
<body>
<!-- All content goes here -->
<div id="all-contents" class="content"></div>
<div>
<!-- Navigation section -->
<nav>
<h1><img class="logoSZI" src="projects/bouncing-box/images/image-removebg-preview (2).png"></h1>
<ul id="nav-ul">
<li class="nav-li">
<a href="index.html">Home</a>
</li>
<li class="nav-li">
<a href="portfolio.html">Portfolio</a>
</li>
</ul>
</nav>
<main>
<!-- Sidebar section -->
<div class="sidebar">
<img class="sidebar-img"
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRl9-d3aqBFhvs8bDtYtu7unnXQb-5afLIaUQ:https://i.ytimg.com/vi/cHJ8uEE-Vvo/maxresdefault.jpg&usqp=CAU">
</div>
<div id="all-contents">
<h2>Shyanne Zeringue</h2>
<p>Student at Hahnvile High School</p>
</div>
<!-- Interests section -->
<div id="interests">
<h3>Interests</h3>
<ul>
<li>Video Games</li>
<li>Cooking</li>
<li>Reading</li>
<li>Baking</li>
<li>Crafts</li>
</ul>
</div>
</main>
</div>
<!-- Button -->
<div>
<button>hehe</button>
<p id='result' style="display: none;">???</p>
</div>
</body>
<script>
$("button").on("click", toggleSecret);
function toggleSecret() {
$('#result').toggle();
$('#result').text('hi rat! :D');
}
</script>
</html>