-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (97 loc) · 1.7 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
*{
font-family: 'Roboto', monospace;
}
.img-fluid{
max-width:100%;
height:auto;
}
.container{
max-width:100%;
height:auto;
}
body{
margin:0 auto;
}
.menu{
display:flex;
}
.menu li{
list-style: none;
padding:0px 10px;
}
.menu li a{
text-decoration: none;
color:black;
font-weight: 100;
}
.header{
display:flex;
flex-direction:column;
align-items: center;
}
.dleft{
display:flex;
justify-content:center;
align-items:flex-start;
flex-flow:wrap column;
}
.desc{
display:grid;
grid-template-columns: 1fr 1fr;
gap:1
}
.dleft a{
color:white;
padding:3%;
background:goldenrod;
text-decoration: none;
border-radius: 9%;
}
.featured-post{
display:grid;
grid-template-columns:1fr 1fr 1fr;
}
.featured-post a{
background-color:gray;
color:white;
border-radius:10%;
text-decoration:none;
}
menu li a:hover{
font-weight: 900;
}
.post{
overflow: hidden;
position: relative;
}
.post:hover > .detail{
transform: translateY(-150px);
}
.detail{
position: absolute;
text-align: center;
bottom: -150px;
left: 0;
right: 0;
background:white;
transition: 1s cubic-bezier(0.42,0,0.58,1);
}
.footer{
display:flex;
justify-content:space-between;
background-color:darkblue;
color:white
}
.footer-right input{
border-color:gold;
border-width:3px;
color:white;
background-color: darkblue;
}
.footer-right input::placeholder{
color:white
}
.footer-right button{
background-color: gold;
border:none;
}