-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.css
130 lines (107 loc) · 1.61 KB
/
gallery.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
.navbar{
background-color: brown ;
width: 100%;
padding: 0 1%;
box-sizing: border-box;
height:10vh;
position: sticky;
top:0px;
z-index: 2;
}
aside
{
height:90vh;
width:160px;
background: brown;
color:white;
float:left;
position: fixed;
}
aside ul
{
padding:0px;
margin:0px;
border-bottom:1px solid #1c1f21;
}
aside ul li
{
list-style-type:none;
color:white;
padding:10px;
border-bottom:1px solid #272a2c;
border-top:1px solid #1c1f21;
overflow: auto;
cursor:pointer;
}
aside ul li:first-child{border-top:none;}
.fa
{
color:#18a3fc;
display:block;
}
aside ul li:hover .fa
{
color:#0f82da;
}
aside ul li:hover .linktitle
{
color:#6c6d6e;
}
aside ul li div
{
float:left;
}
.icons
{
padding:10px;
}
.linktitle
{
line-height: 35px;
padding-left: 10px;
}
.grid {
display: grid;
min-height: 90vh;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
grid-gap: 20px;
align-items:center;
padding: 2vh 2vw;
padding-bottom: 2vh;
margin-left: 160px;
}
.grid > article {
border: 1px solid #ccc;
box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
flex-wrap: wrap;
height: 500px;
padding:0;
}
article img{
width:100%;
}
/* article{
display: flex;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
} */
.grid img{
height:300px;
width:100;
}
.grid .text {
margin-top: 0;
padding: 20px;
padding-top: 0px;
}
p {
color:white;
}
.btn{
position: fixed;
right:5px;
bottom:5px;
}