-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (84 loc) · 1.64 KB
/
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
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@400;500;700&display=swap");
*,
::before,
::after {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
img,
picture {
max-width: 100%;
display: block;
}
/*things start*/
.head__bar {
position: fixed;
right: 2em;
bottom: 2em;
z-index: 999;
}
.head__bar a {
font-family: "Teko", sans-serif;
text-decoration: none;
padding: 0.5em;
background: rgba(0, 0, 0, 0.5);
letter-spacing: 0.1rem;
border-radius: 8px;
color: white;
}
.head__area {
font-family: "Teko", sans-serif;
font-size: 2rem;
text-align: center;
color: rgba(0, 0, 0, 0.5);
}
.container {
max-width: 100rem;
margin-inline: auto;
padding-inline: 3rem;
}
.client-img {
display: -ms-grid;
display: grid;
gap: 0.25rem;
-ms-grid-columns: (minmax(15rem, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.show-img {
/* Minimum width of 24rem and grow to fit available space */
-webkit-box-flex: 1;
-ms-flex: 1 0 24rem;
flex: 1 0 24rem;
overflow: hidden;
}
.img-area {
aspect-ratio: 1 / 1;
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
-webkit-transition: -webkit-transform 400ms ease-out;
transition: -webkit-transform 400ms ease-out;
transition: transform 400ms ease-out;
transition: transform 400ms ease-out, -webkit-transform 400ms ease-out;
}
.img-area:hover {
-webkit-transform: scale(1.15);
transform: scale(1.15);
}
/*# sourceMappingURL=style.css.map */