-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid.css
More file actions
101 lines (88 loc) · 1.74 KB
/
grid.css
File metadata and controls
101 lines (88 loc) · 1.74 KB
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
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital@1&display=swap");
* {
margin: 0;
padding: 10px 20px;
box-sizing: border-box;
}
:root {
/*COLORS*/
--TEAL: hsla(179, 62%, 43%, 1);
--GREEN: hsla(71, 73%, 54%, 1);
/*GRID COLORS*/
--PAGECOLORTEAL100: hsl(204, 43%, 93%);
--PAGECOLORGREY: hsl(218, 22%, 67%);
}
body {
background-image: radial-gradient(var(--PAGECOLORGREY), #efeeed);
font-family: "Nunito" sans-serif;
min-height: 100vh;
width: 100%;
height: 120hv;
gap: 10rem;
}
main {
padding: 250px 200px;
min-height: 400px;
display: grid;
grid-template-rows: 2fr 2fr;
grid-auto-columns: auto;
}
.tpbhd {
color: var(--TEAL);
padding-bottom: 1.5rem;
line-height: 3rem;
}
.tpbhd1 {
color: var(--GREEN);
}
.tpbhd2, .tpbhd3 {
color: var(--PAGECOLORGREY)
}
.link {
text-decoration: none;
cursor: pointer;
color: #000;
border: 1px solid var(--GREEN);
border-width: 200%;
border-radius: 5px;
padding-left: 50px;
background-color: hsl(107, 73%, 56%);
justify-content: center;
}
.box1 {
background-color: var(--PAGECOLORTEAL100);
grid-column-start: 1;
grid-column-end: 3;
color: #000;
font-size: 2rem;
padding: 0.5rem;
place-content: center center;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}
.box2,
.box3 {
grid-row-start: 2;
grid-row-end: 3;
}
.box2 {
background-image: linear-gradient(
hsla(179, 62%, 43%, 1),
hsla(71, 73%, 54%, 1)
);
color: #fff;
min-width: 40vh;
font-size: 2rem;
padding: 0.5rem;
border-bottom-left-radius: 20px;
}
.box3 {
background-image: linear-gradient(
hsla(71, 73%, 54%, 1),
hsla(179, 62%, 43%, 1)
);
color: #fff;
font-size: 2rem;
padding: 0.5rem;
border-bottom-right-radius: 20px;
}