-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
125 lines (104 loc) · 2.02 KB
/
styles.css
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
body{
background: navajowhite;
background-size: cover;
font-family: 'Trebuchet MS', sans-serif;
height: 1000vh;
color: white;
}
marquee {
margin-top: 120px;
font-size: 1vw;
width: 100%;
background-color: rgba(182, 144, 218, 0.6);
size: 20px;
color: white;
}
h1 h2 {
color: rgb(107, 206, 238);
font-size: 3vw;
margin-top: 1vw;
}
img {
max-width: 100%;
height: auto;
}
table {
width: 100%;
border-collapse: collapse;
}
a:hover {
color: aqua;
}
#topDiv {
width: 100%;
height: 1000px;
position: relative;
background-position: center;
background-size: cover;
background-image: url('images/BirdsEyeToshima.webp');
background-attachment: fixed;
}
#topDiv .overlay {
width: 100%;
position: absolute;
top: 10px;
right: 0px;
font-weight: bold;
text-align: center;
}
#topDiv table {
position: fixed;
}
#topDiv th, td {
width: 30%;
size: 100vw;
padding: 20px;
text-align: right;
background-color: rgb(75, 160, 184);
}
#topDiv th img {
max-width: 10%;
max-height: 100px;
}
#topDiv a {
color: white;
size: 5px;
}
/* inspired by https://www.sitepoint.com/css-typewriter-effect/ */
.typedOut {
background-color: rgba(182, 144, 218, 0.6);
size: 20px;
overflow: hidden;
text-align: center;
width: 0;
font-size: 1vw;
color: white;
animation:
typing 3e3ms steps(1000, end) forwards;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
.information {
position: fixed;
background-color: aliceblue;
}
.mainLand img {
margin-top: 50px;
padding: 20px;
width: 50%;
}
.mainLand {
display: flex;
align-items: center;
grid-template-columns: 1fr 3fr 2fr;
}
.desc{
box-sizing:border-box;
width:30%;
float:left;
margin-right:2em;
padding:5px;
background-color: rgb(69, 211, 216);
}