-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomestyle.css
110 lines (107 loc) · 1.82 KB
/
homestyle.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
*{
margin: 0px;
padding: 0px;
font: Arial;
}
header{
background: url('wallpaper1.jpg');
background-size: cover;
background-position: center;
height: 100vh;
max-width: 100vw;
color: white;
}
.navigation{
list-style: none;
float: left;
width: auto;
position: absolute;
top: 14vh;
line-height: 6vh;
color: white;
/*margin-bottom: 10px;
margin-left: 15px;*/
}
ul li{
display: inline-block;
background-color: white;
text-align: center;
font-size:1.7vw;
width: 31vw;
margin-left: 0.6vw;
}
ul li a{
color: rgb(102, 0, 102);
display: block;
transition: 0.5s ease;
text-decoration: none;
}
ul li a:hover{
text-decoration: none;
background-color: rgb(102, 0, 102);
color: white;
}
/*ul li ul li{
display: none;
}
ul li:hover ul li{
display: block;
}*/
.main{
max-width: auto;
margin: auto
}
.title{
position: absolute;
top: 6vh;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
color :white;
width: 100vw;
font-size: 3vw;
}
.active{
background-color: rgb(236, 198, 217);
}
/*.title h2{
font-size: 3vw;
}*/
.content{
width: 60vw;
text-align: center;
font-family: comic sans MS;
color: rgb(255, 230, 249);
float: left;
position: absolute;
top: 45vh;
left: 30%;
transform: translate(-50%,-50%);
margin-left: 2vw;
font-size: 1.5vw;
}
.pic{
position: absolute;
top: 60vh;
left: 80vw;
transform: translate(-50%,-50%);
max-width: 27vw;
max-height:70vh;
object-fit: cover;
}
.back{
text-decoration: none;
color: white;
position: absolute;
top: 6vh;
left: 6vw;
transform: translate(-50%,-50%);
text-align: center;
font-size: 3vw;
font-family: "Tangerine", serif;
}
.footer{
text-align: center;
background-color: rgb(217, 217, 217);
font-size: 1.2vw;
}