-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
195 lines (193 loc) · 6.38 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
<!DOCTYPE html><!--document type declaration-->
<html>
<head><!-- a container for metadata -->
<meta charset="utf-8"><!--charset: character encoding capable of encoding all characters on the web -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><!--for browser compatibility: choose rendering engine to view the page in an correct view (for old ver. IE) -->
<title>Post-Vision 2020</title><!--declaring the title, or name, of the HTML document. displayed in the browser's title bar-->
<meta name="description" content="Post-Vision 2020"><!--keywords/snippet for search engines-->
<meta name="author" content="Ningjing Sun">
<meta name="viewport" content="width=device-width"><!--the browser will (probably) render the width of the page at the width of its own screen -->
<link rel="icon" type="image/svg+xml" href="img/favicon.svg">
<link rel="alternate icon" href="img/favicon.ico">
<link rel="mask-icon" href="img/favicon.svg" color="#ff8a01">
<link rel="stylesheet" href="https://use.typekit.net/igl8gmo.css">
<style>
*{
margin: 0; /*cancels out browser-default margins*/
padding: 0;
box-sizing: border-box; /*border-box include any padding into the element's content*/
/*cursor: url(img/cursor.png) 64 64, auto;*/
}
html{
font-size: 20px; /*https://www.cnblogs.com/shireyhu/p/7832124.html*/
}
@font-face {
font-family: arialnarrow;
font-style: normal;
src: url(fonts/arialnarrow.ttf);
}
@font-face {
font-family: mono;
font-style: normal;
src: url(fonts/3X3-MonoRegular.woff);
}
@font-face {
font-family: bigtitle;
font-style: normal;
src: url(fonts/bigtitle.otf);
}
@keyframes backgroundcolors{
0% {
background-color: rgb(0, 0, 0);
}
10% {
background-color: rgb(0, 0, 0);
}
60% {
background-color: rgb(160, 160, 160);
}
100%{
background-color:rgb(0, 0, 0);
}
}
@keyframes textcolors{
0% {
color: rgb(40, 40, 40);
}
10% {
color: rgb(40, 40, 40);
}
60% {
color: rgb(130, 130, 130);
}
100%{
color:rgb(40, 40, 40);
}
}
html{
/*background-color: rgb(0, 0, 0);*/
animation: backgroundcolors 10s infinite;
}
p{
font-family: arialnarrow;
font-style: normal;
font-size: 2.2rem;
line-height: 3.7rem;
letter-spacing: 0.4px;
color: white;
margin: 0;
color: white;
margin-bottom: 0.8rem;
}
a{
text-decoration: none;
color: white;
}
a:hover{
font-style: italic;
}
.header{
position: fixed;
display: flex;
justify-content: space-between;
flex-direction: row;
padding-left: 2%;
padding-right: 2%;
height: 110px;
left: 3.2rem;
right: 3.2rem;
top: 0px;
}
.headertext{
font-size: 1.4rem;
line-height: 1.5rem;
letter-spacing: 0.4px;
margin-top: 0.5rem;
}
/*
.headertext:nth-child(1){
margin-left: 5.6%;
}
.headertext:nth-child(2){
margin-left: 5.6%;
}
.headertext:nth-child(3){
margin-left: 5.6%;
}
*/
.background{
position: fixed;
width: 100%;
height: 100%;
top: 0;
z-index: -1;
}
.title{
margin: 0 auto;
margin-top: 7.7%;
width: 60%;
color: white;
z-index: -1;
}
.text{
position: fixed;
margin-left: 15vw;
margin-right: 15vw;
margin-top: 16vh;
text-align: center;
z-index: 999;
}
.titletext{
font-family: bigtitle;
font-style: normal;
font-size: 26vh;
line-height: 25vh;
letter-spacing: 1.5vw;
animation: textcolors 10s infinite;
text-align: center;
}
.calendarlink:hover{
color: rgb(255, 70, 40);
}
.worldbuildinglink:hover{
color: rgb(10, 30, 255);
}
.roomlink:hover{
color: rgb(255, 255, 35);
}
.gardenlink:hover{
color: rgb(30, 255, 20);
}
</style>
</head>
<body onload=display_ct();> <!--all the contents of an HTML document goes here-->
<div class="background">
<div class="title">
<p class="titletext">POST<br>VISION<br>2020</p>
</div>
</div>
<div class="header">
<p class="headertext">Degree project by Niya Sun</p>
<p class="headertext">Final crit: Dec 11, 10am EST</p>
<p class="headertext">RISD Graphic Design</p>
<p class="headertext"><span id="ct"></span> CST</p>
</div>
<div class="text">
<p>2020 is a point of transformation. As we are about to enter the post-2020 era, this is a place for you to find new connections, retain your intimacy, and protect your own vulnerability.</p><br><br>
<p>This project is composed of four layers: <a href="calendar.html" class="calendarlink">① an archive of people’s previous projections into the future of 2020;</a> <a href="worldbuilding.html" class="worldbuildinglink">② an essay on worldbuilding as a daily practice;</a> <a href="room.html" class="roomlink">③ a meditation room of people’s daily practices in the face of a global crisis;</a> <a href="garden.html" class="gardenlink">④ a garden of gifts and offerings that will prepare you for your future adventures.</a></p>
</div>
</body>
<script>
function display_c(){
var refresh=1000; // Refresh rate in milli seconds
mytime=setTimeout('display_ct()',refresh)
}
function display_ct() {
var x = new Date()
var x1=x.getMonth() + 1+ "/" + x.getDate() + "/" + x.getFullYear();
x1 = x1 + " — " + x.getHours( )+ ":" + x.getMinutes() + ":" + x.getSeconds();
document.getElementById('ct').innerHTML = x1;
display_c();
}
</script>
</html>