-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.html
163 lines (130 loc) · 4.11 KB
/
home.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
<!DOCTYPE html>
<html lang="zh-Hant-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<title>Home</title>
<style type="text/css">
/*phone model*/
body {
margin: 0;
background-color: #f2f2f2;
color: #656565;
}
/*Home*/
header{
background: #fff;
text-align: center;
padding-bottom: 10vh;
}
header h1{
margin: 0 auto;
padding: 15px 5px 7px 5px;
color:#656565;
width: 90%;
font-size: 50px
}
header img{
width: 100%;
height:auto;
max-width:1000px;
padding-top: 50px;
}
.tablink {
background-color:#404040;
color: white;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
font-size: 17px;
font-weight:bold;
width: 33.3%;
}
.tablink:hover {
background-color: #3973ac;
}
section{
text-align: left;
margin: 50px 0px 50px 0px;
padding: 15px 10px 7px 10px;
}
section article{
margin: 0 auto;
padding: 15px 5px 15px 5px;
font-size: 40px;
}
section article p{
word-break: break-all;
font-size: 17px;
}
footer{
background-color: #3973ac;
margin: 0 auto;
padding: 50px 5px 50px 5px;
}
footer p{
text-align: center;
font-size: 20px;
color:#fff;
}
/* pc model 769-1000px */
@media only screen and (min-width: 769px){
header h1{
text-align: left;
padding: 15px 5px 7px 10px;
width: 1000px;
float: left;
font-size: 100px;
}
}
/* pc model 1000px up*/
@media only screen and (min-width: 1000px){
header,section,footer{
width: 1000px;
margin-left: auto;
margin-right: auto;
}
}
</style>
</head>
<body>
<header id="header">
<h1 id="top">
淡江開源社
</h1>
<nav id="nav">
<button class="tablink" onclick="">首頁</button>
<button class="tablink" onclick="">成員</button>
<button class="tablink" onclick="">專案</button>
</nav>
<img src="https://i.imgur.com/6VHFrrZ.jpg">
</header>
<section id="main">
<article id="introduction">
<i class="fas fa-cube"></i> 社團簡介
<hr>
<p id="content">
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
**********************************************************************************************************************************************************************************************************
</p>
</article>
<article id="introduction">
<i class="fas fa-map-marker-alt"></i> 活動地點
<hr>
<p id="content">
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
**********************************************************************************************************************************************************************************************************
</p>
</article>
</section>
<footer>
<p>Contact</p>
<p><i class="fab fa-telegram"></i> Telegram : xxxxxxxxxxxx</p>
<p><i class="fab fa-facebook-square"></i> Facebook : xxxxxxxxxxxxxx</p>
<p><i class="fab fa-github"></i> GitHub : xxxxxxxxxxx</p>
</footer>
</body>
</html>