-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
100 lines (90 loc) · 1.9 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #93B5C6;
background-size: cover;
}
.container {
height: 100vh;
padding: 4rem;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
justify-items: center;
align-items: center;
gap: 2rem;
}
.first-project {
width: 250px;
height: 250px;
background-image: url(./img/project1.png);
background-size: contain;
border-radius: 3px;
position: relative;
}
.second-project {
width: 250px;
height: 250px;
background-image: url(./DarkMode/darkMode.png);
background-repeat: no-repeat;
background-size: cover;
border-radius: 3px;
position: relative;
}
.third-project {
height: 100vh;
width: 250px;
height: 250px;
background-image: url(./FiltersProject/img/filters.png);
background-size: 100%;
background-repeat: no-repeat;
background-size: cover;
border-radius: 3px;
position: relative;
}
.fourth-project {
width: 250px;
height: 250px;
background-image: url(./PhotoGallery/img/gallery.png);
background-size: contain;
border-radius: 3px;
position: relative;
}
.fifth-project {
width: 250px;
height: 250px;
background-image: url(./ProductsProject/products.png);
background-repeat: no-repeat;
background-size: cover;
border-radius: 3px;
position: relative;
}
button {
background-color: #93B5C6;
width: 100px;
align-items: center;
border: none;
border-radius: 2px;
font-size: smaller;
padding: 0.3rem;
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
bottom: 10px;
}
a {
text-decoration-line: none;
color: white;
}
.p1, .p2, .p3, .p4, .p5 {
display: flex;
flex-direction: column;
gap: 1rem;
text-align: center;
font-family: "Roboto", sans-serif;
font-size: smaller;
}