-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
143 lines (129 loc) · 6.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>BrownCSSA|Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="web.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.mySlides {display:none;}
body {font-family: "Lato", sans-serif}
</style>
</head>
<body style="background-color:#fafafa;">
<div class = "w3-top">
<div class="w3-bar w3-card-2" style="background-color:#3E3636;color:#F5EDED">
<a class="w3-bar-item w3-button w3-padding-large w3-hide-medium w3-hide-large w3-right" href="javascript:void(0)" onclick="myFunction()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<a href="#" class="w3-bar-item w3-button w3-padding-large" style="background-color:#984B43;color:#F5EDED;">BrownCSSA</a>
<a href="index.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">Home</a>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-button w3-padding-large"><a href="pages/aboutus.html" style="text-decoration: none;">About Us</a></button>
<div class="w3-dropdown-content w3-bar-block w3-card-2" style = "width:60px;">
<a href="pages/aboutus.html#overview" class="w3-bar-item w3-button w3-padding-large w3-hide-small">Overview</a>
<a href="pages/aboutus.html#department" class="w3-bar-item w3-button w3-padding-large w3-hide-small">Departments</a>
<a href="pages/aboutus.html#eboard" class="w3-bar-item w3-button w3-padding-large w3-hide-small">E-Board</a>
<a href="pages/aboutus.html#sponsors" class="w3-bar-item w3-button w3-padding-large w3-hide-small">Sponsors</a>
</div>
</div>
<a href="pages/news.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">News</a>
<a href="pages/campus.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">Campus Life</a>
<a href="pages/bbs.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">BBS</a>
<a href="pages/contact.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">Contact</a>
<div class="w3-dropdown-hover w3-right w3-hide-small">
<button class="w3-button w3-padding-large">English</button>
<div class="w3-dropdown-content w3-bar-block w3-card-2">
<a href="chindex.html" hreflang="zh" class="w3-bar-item w3-button w3-padding-large">中文</a>
</div>
</div>
</div>
</div>
<!-- Navbar on small screens -->
<div id="mobilenav" class="w3-bar-block w3-black w3-opacity w3-hide w3-hide-large w3-hide-medium w3-top" style="margin-top:46px">
<a href="index.html" class="w3-bar-item w3-button w3-padding-large">Home</a>
<a href="pages/aboutus.html" class="w3-bar-item w3-button w3-padding-large">About Us</a>
<a href="pages/news.html" class="w3-bar-item w3-button w3-padding-large">News</a>
<a href="pages/campus.html" class="w3-bar-item w3-button w3-padding-large">Campus Life</a>
<a href="pages/bbs.html" class="w3-bar-item w3-button w3-padding-large">BBS</a>
<a href="pages/contact.html" class="w3-bar-item w3-button w3-padding-large">Contact</a>
<a href="chindex.html" class="w3-bar-item w3-button w3-padding-large">中文</a>
</div>
<div class="w3-content w3-display-container" style = "max-width:2000px;margin-top:46px;background-color:#fafafa;border:none;">
<div class="mySlides" style="display:none">
<a href = "pages/aboutus.html" style="text-decoration:none;"><img src="images/homelogo.png" style="width:100%">
<div class="w3-display-bottom w3-large w3-container w3-opacity w3-card-2" style="text-align:center;padding:10px;">
About Us • 关于学联
</div>
</a>
</div>
<div class="mySlides" style="display:none">
<a href = "pages/news.html" style="text-decoration:none;"><img src="images/past events 2.jpg" style="width:100%">
<div class="w3-display-bottom w3-large w3-container w3-opacity w3-card-2" style="text-align:center;padding:10px;">
Photo Shoot • 集体照
</div></a>
</div>
<div class="mySlides" style="display:none">
<a href = "pages/news.html" style="text-decoration:none;"><img src="images/past events 3.jpg" style="width:100%">
<div class="w3-display-bottom w3-large w3-container w3-opacity w3-card-2" style="text-align:center;padding:10px;">
Past Events • 厨艺大赛
</div></a>
</div>
<div class="mySlides" style="display:none">
<a href = "pages/campus.html" style="text-decoration:none;"><img src="images/campus life.png" style="width:100%">
<div class="w3-display-bottom w3-large w3-container w3-opacity w3-card-2" style="text-align:center;padding:10px;">
Campus Life • 新生手册
</div></a>
</div>
<button class="w3-button w3-opacity w3-black w3-display-left" onclick="plusDivs(-1)">❮</button>
<button class="w3-button w3-opacity w3-black w3-display-right" onclick="plusDivs(1)">❯</button>
</div>
<footer class="w3-container w3-padding-64 w3-center w3-xlarge" style="color:#C98474;">
<br>
<br>
<br>
<p class="w3-medium" style="font-family:fantasy;text-aligh:left;" >Follow Us</p>
<a href="http://LUDANZ.github.io/images/wechat.jpg" target="_blank"><i class="fa fa-wechat w3-hover-opacity"></i></a>
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
</footer>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
x[slideIndex-1].style.display = "block";
}
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 3000); // Change image every 2 seconds
}
function myFunction() {
var x = document.getElementById("mobilenav");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
</body>
</html>