-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (102 loc) · 1.95 KB
/
style.css
File metadata and controls
113 lines (102 loc) · 1.95 KB
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
/* body{
background-color:gray;
}*/
@font-face{
font-family: "Tidal-Script";
src: url(../gallery/Tilda\ Script\ S\ Non-connect\ Demo.ttf)format(truetype);
}
@font-face{
font-family: "Futura";
src: url(../gallery/Futura\ Book\ font.ttf)format(truetype);
}
.t1{
text-align: center;
font-size:30px;
margin-top: 40px;
color:rgb(66, 91, 113);
font-weight: bold;
font-family: 'Futura';
}
.t2{
text-align: center;
font-size: 80px;
margin-top: 10px;
font-weight: bolder;
color:rgb(166, 214, 215);
font-family: 'Tidal-Script';
}
img{
width: 400px;
height: 100%;
border-radius: 5px;
}
.layer h3{
font-family: 'Futura';
font-weight: bolder;
font-size:30px;
color: #cacda2;
}
.layer{
width: 100%;
height: 100%;
position: absolute;
justify-content: center;
align-items:start;
border-radius: 5px;
display: flex;
flex-wrap: wrap;
transition: 0.5s;
}
.item{
position: relative;
overflow: hidden;
transition: transform 0.5s;
}
.item:hover .layer{
top: 0;
height: 100%;
width: 100%;
}
.item:hover{
transform: translateY(-10px);
}
.container{
width: 100%;
text-align: center;
display:flex;
flex-wrap: wrap;
gap: 1em;
justify-content: center;
justify-content: space-evenly;
row-gap: 3em;
margin-bottom: 50px;
}
.t3{
font-family: 'Futura';
font-size: 15px;
color: white;
text-align: center;
margin-top: 20px;
}
@media only screen and (max-width: 600px){
.t1{
font-size: 15px;
text-align: center;
}
.t2{
font-size: 40px;
}
.container{
display: flex;
flex-direction: column;
}
img{
width: 300px;
}
.t3{
font-size:15px;
}
.layer h3{
font-size:25px;
}
}