-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
83 lines (71 loc) · 1.5 KB
/
main.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
body {
background-color: #2b2b2b;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.navbar {
background-color: #345;
padding: 10px;
display: flex;
justify-content: flex-end;
}
.content {
max-width: 900px;
margin: 0 auto;
padding: 20px;
color: #ffffff;
}
@media screen and (max-width: 767px) {
.content {
display: grid;
grid-template-columns: 1fr;
grid-gap: 20px;
}
}
@media screen and (min-width: 768px) {
.content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-gap: 20px;
}
}
a {
background-color: #149F5C;
color: white;
border-radius: 7px;
padding: 3px 6px 3px 6px;
}
img {
margin-left: 12px;
margin-right: 12px;
border-radius: 5px;
max-width: calc(100% - 24px);
height: calc(100% - 72px); object-fit: cover;
max-height: 50vh;
}
.plugin {
background-color: #333;
padding: 12px 0 0 0;
text-align: center;
color: #fff;
border-radius: 7px;
box-shadow: 0px 1px 10px 2px rgba(0, 0, 0, 0.5);
transition: box-shadow 0.3s ease-in-out;
}
.plugin:hover {
box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5);
transition: box-shadow 0.3s ease-in-out;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
.left {
margin-right: auto;
padding-left: 10px;
}
.right {
padding-right: 10px;
}