forked from john-smilga/react-projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
78 lines (67 loc) · 1.07 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Open Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
margin: 5%;
padding: 0 20px 20px 20px;
background-color: rgb(200, 234, 255);
text-decoration: none;
color: slategrey;
}
h1 {
text-align: center;
font-size: 3rem;
font-weight: 700;
margin: 0;
padding: 0;
}
img {
max-width: 150px;
height: auto;
display: block;
margin: 0px 0px 10px 80px;
}
li {
margin-left: 25px;
font-size: smaller;
}
a.project-block {
text-decoration: none;
color: inherit;
text-align: left;
}
.projectlist {
width: 90vw;
max-width: 1170px;
margin: 2rem auto;
display: grid;
gap: 2rem;
color: rgb(50, 50, 50);
}
@media screen and (min-width: 768px) {
.projectlist {
grid-template-columns: repeat(3, 1fr);
}
}
.project {
max-width: 25vw;
min-width: 200px;
height: 250px;
background: white;
border-radius: 1rem;
padding: 1rem 2rem;
}
.project:hover {
background-color: rgb(251, 224, 224);
color: indianred;
}
.project h2 {
margin-top: 0.5rem;
}
.project h4 {
color: grey;
font-size: 0.75rem;
}