-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
146 lines (131 loc) · 2.33 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
*{
user-select: none;
position:relative;
}
html{
min-height: 100vh;
}
body{
background:radial-gradient(at 70% 20% , #FFECF4 0%,white 100%);
min-height: 100vh;
padding-top: 50px;
box-sizing: border-box;
}
.container{
position:relative;
margin:0 auto;
max-width: 1200px;
min-height: calc(100vh - 250px);
height: 50%;
/* border:1px solid black; */
}
header {
display:flex;
justify-content: space-between;
align-items:center;
margin:0 30px 50px 30px;
}
header .title{
font-size: 60px;
font-family: 'Vibur', sans-serif;
letter-spacing: 4px;
}
header ul{
display:flex;
/* justify-content: space-between; */
}
header li{
cursor:pointer;
font-size:20px;
font-family: 'Courgette',sans-serif;
margin-left:45px;
}
header li.active{
color:red;
}
header li:hover{
font-weight: bold;
}
header li:active{
font-weight: normal;
}
aside ul{
display:flex;
justify-content: space-between;
width:70%;
margin:0 auto;
margin-bottom: 25px;
}
aside li{
cursor:pointer;
font-size: 24px;
font-family: 'Bellota',sans-serif;
}
aside li.active{
color: skyblue;
}
aside li:hover{
font-weight: bold;
}
aside li:active{
font-weight: normal;
}
article{
width: 85%;
margin:0 auto;
}
.grid-container{
display:grid;
row-gap: 28px;
column-gap: 24px;
grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
}
.items{
cursor:pointer;
width: 0;
height: 0px;
padding:50%;
overflow: hidden;
/* border:1px solid black; */
border-radius: 10px;
opacity:0.8;
transition:opacity 0.2s;
}
.items.hide{
display:none;
}
.items:hover{
opacity:1;
}
.items .img{
position:absolute;
min-width: 100%;
min-height: 100%;
max-height: 150%;
transform: translate(-50%,-50%);
transition:max-height 0.3s;
}
.items img:hover{
max-height: 160%;
}
footer{
height: 150px;
width: 100%;
background-color: #4F4F4F;
display:flex;
justify-content: center;
align-items:center;
margin-top: 50px;
}
.footer-icons{
display:flex;
justify-content: space-between;
align-items:center;
width: 160px;
}
footer i{
color:#8A8A8A
}
footer .fa-github{font-size: 40px;}
footer .fa-envelope{font-size: 32px;}
footer .fa-blogger{font-size: 40px;}