-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
112 lines (90 loc) · 1.78 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
100
101
102
103
104
105
106
107
108
109
110
111
112
/*Layout*/
body {margin: 0;}
ul.sidenav {
list-style-type: none;
margin: 0;
padding: 0;
width: 20%;
background-color: #f1f1f1;
position: fixed;
height: 100%;
overflow: auto;
}
ul.sidenav li a {
display: block;
color: #000;
padding: 8px 16px;
text-decoration: none;
}
ul.sidenav li a.active {
background-color: #4CAF50;
color: white;
}
ul.sidenav li a:hover:not(.active) {
background-color: #555;
color: white;
}
div.content {
margin-left: 25%;
padding: 1px 16px;
height: 1000px;
}
@media screen and (max-width: 900px) {
ul.sidenav {
width: 100%;
height: auto;
position: relative;
}
ul.sidenav li a {
float: left;
padding: 15px;
}
div.content {margin-left: 0;}
}
@media screen and (max-width: 400px) {
ul.sidenav li a {
text-align: center;
float: none;
}
}
/* Flexbox */
.item-container {
display: flex;
}
.item {
width: 100px;
height: 100px;
}
#item-1 {background-color: red;}
#item-2 {background-color: blue;}
#item-3 {background-color: orange;}
#item-4 {background-color: green;}
#item-5 {background-color: grey;}
/*Typography*/
h1, h2, h3, a, p, label {font-family: 'Roboto', sans-serif;}
h1 {font-weight: 700;}
h2, h3, a, p , label {font-weight: 400;}
#logo {
padding: 8px 16px;
}
label {
float: right;
}
/*Interactive elements*/
.block {
width: 200px;
height: 64px;
background-color: #c0ffee;
float: left;
}
/*Fix for colour input border*/
input[type="color"] {
opacity: 0;
display: block;
width: 32px;
height: 32px;
border: none;
}
#color-picker-wrapper, #color-picker-wrapper-2, #color-picker-wrapper-3, #color-picker-wrapper-4, #color-picker-wrapper-5 {
float: left;
}