/
style.css
111 lines (102 loc) · 2.46 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
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', Calibri, sans-serif;
}
body {
background-color: #555;
}
#container_header {
background-color: #333;
padding: 10px 0;
}
#header {
text-align: center;
font-size: 100px;
margin-bottom: 20px;
color: #ddd;
}
#link-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
#link-container .link-container-item {
margin: 40px auto;
width: 300px;
height: 300px;
box-shadow: rgba(0, 0, 0, 0.3) 9px 8px 20px 0px;
overflow: hidden;
}
#link-container .link-container-item a {
width: inherit;
height: inherit;
display: block;
background-image: url(//unsplash.it/300);
background-repeat: round;
transform: scale(1);
-webkit-transform: scale(1);
-webkit-transition: transform .3s ease-in-out;
transition: transform .3s ease-in-out;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
#link-container .link-container-item a:hover {
-webkit-transform: scale(1.05);
transform: scale(1.05);
}
#link-container #aclib-generator a {
background-image: url(img/aclib.png);
}
#link-container #profile-viewer a {
background-image: url(https://minotar.net/helm/Steve/256.png);
}
#link-container #wallpaper-crafter a {
background-image: url(img/wallpaper-crafter.png);
}
#link-container #execute-converter a {
background-image: url(img/execute-converter.png);
}
#link-container #id-converter a {
background-image: url(img/id-converter.png);
}
#link-container #datapacks a {
background-image: url(img/datapacks.png);
}
#link-container #resourcepacks a {
background-image: url(img/resourcepacks.png);
}
#link-container #mc-tools a {
background-image: url(img/mc-tools-logo.png);
}
#link-container #markdown-to-html a {
background-image: url(img/markdown-to-html.png);
}
@media only screen and (max-width: 1300px) {
#link-container {
grid-template-columns: repeat(3, 1fr);
}
@media only screen and (max-width: 950px) {
#link-container {
grid-template-columns: repeat(2, 1fr);
}
@media only screen and (max-width: 625px) {
#link-container {
grid-template-columns: 1fr;
}
h1#header {
font-size: 75px;
}
@media only screen and (max-width: 500px) {
h1#header {
font-size: 50px;
}
#container_header {
min-width: 300px;
}
}
}
}
}