-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (145 loc) · 3.19 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
<!DOCTYPE html>
<html>
<head>
<title>Home</title>
<link href="./style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#burgmenu").click(function(){
$("#slidemenu").css("transform","translateX(0%)");
});
$("#closeslide").click(function(){
$("#slidemenu").css("transform","translateX(100%)");
});
});
</script>
<style type="text/css">
html
{
height: 100%;
font-family: Century Gothic, sans-serif;;
}
body
{
height: 100%;
margin:0px;
background-color: hsla(158,100%,91%,1);
height: 100%;
}
#header
{
background-color: hsla(158,59%,57%,1);
color: white;
box-shadow: 0px 1px 10px rgba(0,0,0,0.5);
border-bottom: 3px solid hsl(158, 74%, 69%);
margin-bottom: 10px;
}
#header > #headTitle
{
font-size:22px;
padding: 10px;
display: inline-block;
}
#header > #nav
{
display: inline-block;
float: right;
list-style-type: none;
padding: 0px;
margin: 0px;
font-size: 22px;
}
#header > #nav > li
{
padding: 10px;
}
#slidemenu
{
box-shadow: 0px 0px 10px rgba(0,0,0,0.25);
height: 100%;
position: fixed;
top: 0px;
right: 0%;
transition: .5s all;
transform: translateX(100%);
background-color: hsl(158, 66%, 67%);
box-sizing: border-box;
color:white;
z-index:10
}
#slidemenu > #closeslide
{
display: block;
text-align: right;
padding:10px;
background-color: hsl(158, 32%, 52%);
}
.panel
{
background-color: #FFF;
display: inline-block;
width: 230px;
box-shadow: 0px 2px 6px rgba(0,0,0,0.25);
margin: 20px;
}
.panel > name
{
display: block;
color:white;
padding: 5px;
font-size: 18px
}
.panel.g > name/*AD4545*/
{
background-color: hsl(163, 59%, 56%);
text-align: center;
}
.panel.r > name/*AD4545*/
{
background-color: hsl(0, 68%, 65%);
text-align: center;
}
.panel.b > name/*AD4545*/
{
background-color: hsl(191, 73%, 49%);
text-align: center;
}
.panel > desc
{
text-align: center;
padding:5px;
font-size: 16px;
display: block;
}/*hsl(191, 73%, 49%)*/
</style>
</head>
<body>
<div id="slidemenu" style="">
<i id="closeslide" class="fa fa-times-circle-o"></i>
<div style="padding:10px;">Stuff</div>
<div style="padding:10px;">Lorem Ipsum</div>
</div>
<header id="header">
<t id="headTitle">Web Dev</t>
<ul id="nav">
<li id="burgmenu"><i style="letter-spacing:0;" class="fa fa-bars"></i></li>
</ul>
</header>
<div style="text-align: center;">
<div class="panel r">
<name>Example</name>
<desc>This is an example of a panel for the home page of this github repo</desc>
</div>
<div class="panel g">
<name>Example</name>
<desc>This is an example of a panel for the home page of this github repo</desc>
</div>
<div class="panel b">
<name><a href="./canvas2.html">Example</a></name>
<desc>This is an example of a panel for the home page of this github repo</desc>
</div>
</div>
</body>
</html>