-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaboutus.style.css
116 lines (102 loc) · 1.8 KB
/
aboutus.style.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html, body {
overflow-x: hidden;
}
body {
cursor: url(asset/Latte.cur), auto;
background-color: black;
}
nav {
display: flex;
gap: 2rem;
justify-content: center;
list-style: none;
position: fixed;
top: 0;
z-index: 2;
width: 100%;
padding: 1rem;
}
a {
position: relative;
color: #efefee;
cursor: url(asset/Latte.cur), auto;
font-size: 28px;
padding: 0.5rem 1rem;
transition: color 0.25s;
text-decoration: none;
}
a::after {
position: absolute;
content: "";
inset: 0;
background: white;
scale: 1 0;
z-index: -1;
transition: 0.45s;
border-radius: 10px;
}
a:hover {
color: black;
}
a:hover::after {
scale: 1 1;
}
.img-contain {
display: flex;
justify-content: center;
align-items: center;
height: 90vh;
position: relative;
flex-direction: column;
}
.img-content{
width: 10rem;
height: 20rem;
padding: 0.5rem 1rem;
transition: 0.8s;
opacity: 0.1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
}
.img-content:hover{
content:'';
width: 15rem;
opacity: 1;
transition: 0.8s;
}
.name{
width: 22.9ch;
color: black;
left: 4%0;
bottom: -100px;
position: absolute;
transition: opacity 0.5s;
opacity: 0;
background-color: white;
padding: 10px;
margin: 10px;
justify-content: center;
border-radius: 15px 15px 15px 15px;
}
.img-content:hover + .name{
opacity: 1;
transition: 0.8s;
}
.img-title{
color: white;
}
h2{
color: white;
font-size: 2.5rem;
padding: 10px;
border-bottom: 3px solid white ;
}