-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (82 loc) · 1.58 KB
/
style.css
File metadata and controls
100 lines (82 loc) · 1.58 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
/* Pallette: 03071e, 370617, 6a040f, 9d0208, d00000, dc2f02, e85d04, f48c06, faa307, ffba08 */
/* Colours */
:root {
--dark-bg: #03071e;
--dark-burgandy: #370617;
--light-burgandy: #6a040f;
--semi-dark-red: #9d0208;
--red: #d00000;
--semi-dark-orange: #dc2f02;
--orange: #e85d04;
--light-orange: #f48c06;
--light-yellow: #faa307;
--yellow: #ffba08;
}
input[type=text] {
width: 130px;
border: 2px solid black;
border-radius: 10px;
font-size: 16px;
background-color: var(--light-yellow);
background-position: 10px 10px;
background-repeat: no-repeat;
padding: 12px 20px 12px 20px;
transition: width 0.7s ease-in-out;
}
input[type=text]:focus {
width: 90%;
}
body {
font-family: 'Source Sans Pro', sans-serif;
}
/* Navigation */
nav {
overflow: hidden;
background-color: var(--light-orange);
border-radius: 10px;
}
nav ul {
margin: 0;
padding: 0;
list-style-type: none;
}
nav li, span {
float: left;
transition-duration: 0.3s;
border-radius: 10px;
}
nav li:last-child {
border-right: none;
}
nav li a, span {
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
transition-duration: 0.3s;
border-radius: 10px;
}
nav li a:hover:not(.active) {
background-color: var(--orange);
transition-duration: 0.3s;
border-radius: 10px;
}
.nav-name {
font-weight: 600;
}
a:link {
color: black;
transition-duration: 0.2s;
}
/* visited link */
a:visited {
color: black;
}
a:hover {
color: var(--yellow);
transition-duration: 0.2s;
}
a:active {
color: var(--semi-dark-orange);
}