-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
100 lines (81 loc) · 1.13 KB
/
styles.css
File metadata and controls
100 lines (81 loc) · 1.13 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
article {
width: 100%;
height: 55px;
border: solid 2px black;
background-color: #faf59c;
display: flex;
flex-direction: column;
justify-content: space-between;
}
h1,
h2 {
font-size: 1rem;
text-align: center;
font-weight: 400;
}
h2 {
font-size: 0.6rem;
}
.title {
font-size: 3rem;
letter-spacing: 4px;
}
.table {
display: grid;
grid-template-columns: repeat(18, 5vw);
gap: 4px;
margin: 0 auto;
padding: 1rem;
}
#helium {
grid-column: 18;
}
#boron {
grid-column: 13;
}
#aluminium {
grid-column: 13;
}
#lanthanum,
#actinium {
grid-column-start: 3;
}
.non-metal {
background-color: #96d9eb;
}
.halogon {
background-color: #7ec2ec;
}
.alkali-metal {
background-color: #f38482;
}
.alkaline-earth {
background-color: #f7b476;
}
.lanthanoid {
background-color: #f9c7dd;
/* grid-row: 10; */
}
.actinoids {
background-color: #db80b5;
}
.basic-metal {
background-color: #cee07b;
}
.metaloid {
background-color: #a0d6be;
}
.noble-gas {
background-color: #ccbfde;
}
#blank {
background-color: transparent;
border: none;
display: hidden;
grid-column: span 18;
}