-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss_grid.css
105 lines (88 loc) · 1.49 KB
/
css_grid.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
/* RESET */
* {
margin: 0;
padding: 0;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: 62.5%;
}
body {
font-family: 'Rockwell';
}
#app {
height: 100vh;
display: grid;
grid-template-rows: minmax(6rem, 8%) 1fr minmax(2rem, 3%);
}
/* HEADER */
.header {
display: grid;
grid-template-columns: minmax(4%, 6rem) 1fr minmax(6%, 8rem);
align-items: center;
background-color: #756bb1;
}
.logo {
align-self: stretch;
background-color: #f1a340;
display: grid;
justify-content: center;
align-content: center;
}
.title {
padding-left: 2rem;
font-size: 3rem;
color: #f1a340;
overflow: hidden; /* Necessary so that the header doesn't grow */
}
.user {
align-self: center;
display: grid;
grid-auto-flow: column;
justify-content: space-evenly;
}
/* CONTAINER */
.container {
display: grid;
grid-template-columns: minmax(6rem, 4%) 1fr;
}
/* TOOLBAR */
.toolbar {
padding-bottom: 2rem;
background-color: #333;
display: grid;
grid-template-rows: minmax(14rem, 30%) 1fr;
justify-content: center;
}
.tools {
display: grid;
align-content: space-evenly;
}
.help {
align-self: end;
}
/* FOOTER */
.footer {
background-color: #756bb1;
}
/* ICONS */
img {
cursor: pointer;
}
.icon {
width: 2.5rem;
height: 2.5rem;
}
.icons-logo {
width: 5rem;
height: 5rem;
}
.icon-toolbar {
width: 3.5rem;
height: 3.5rem;
}