-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
110 lines (94 loc) · 1.56 KB
/
index.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
html {
box-sizing: border-box;
scroll-behavior: smooth;
scroll-snap-type: y proximity;
}
*,
*::before,
*::after {
padding: 0;
margin: 0;
box-sizing: inherit;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.5;
}
header,
section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 1rem;
scroll-snap-align: start;
}
h1,
h2 {
font-weight: normal;
text-align: center;
}
ul,
ol {
list-style: none;
}
a {
color: inherit;
text-decoration: none;
}
.projects-list {
display: grid;
grid-template-columns: repeat(auto-fit, 16em);
grid-auto-rows: minmax(16em, auto);
grid-gap: 2em;
gap: 2em;
justify-content: center;
width: 100%;
margin-top: 1em;
}
.project-tile {
display: flex;
flex-direction: column;
justify-content: center;
padding: 1em;
text-align: justify;
border-radius: 20px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}
.project-icon {
width: 100%;
font-size: 3em;
text-align: center;
}
.project-description {
margin: 1em 0;
}
.contacts-list {
display: flex;
text-align: center;
}
.contacts-list > li {
margin: 0 0.4em;
}
@media screen and (min-width: 768px) {
html {
font-size: 1.125em;
}
}
@media screen and (min-width: 1024px) {
html {
font-size: 1.25em;
}
}
@media screen and (min-width: 1440px) {
html {
font-size: 1.5em;
}
}
@media screen and (min-width: 2560px) {
html {
font-size: 1.75em;
}
}