-
Notifications
You must be signed in to change notification settings - Fork 20
/
style.scss
116 lines (92 loc) · 1.72 KB
/
style.scss
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
113
114
115
$primary-text-colour: #202124;
$primary-background-colour: #FFFFFF;
$secondary-background-colour: #F8F9FA;
$highlight-colour: #888888;
$affordance-colour: #4D90FE;
/* Selector lists */
$a-tags: 'a, a:active, a:hover, a:visited';
$a-tags-hover: 'a:active, a:hover';
$ui-tags-hover: '.searchbar:hover, .searchbar:focus, .searchbar-sm:hover, .searchbar-sm:focus, .searchbutton:hover';
body {
font-family: Futura, Trebuchet MS, Arial, san-serif;
color: $primary-text-colour;
}
h1 {
font-size: 42pt;
margin: 5px;
}
h3 {
margin: 30px 0px 10px 47px;
}
.navbar {
text-align: right;
li {
display: inline-block;
padding: 10px;
}
a {
color: $primary-text-colour;
}
#{$a-tags} {
text-decoration: none;
}
#{$a-tags-hover} {
text-decoration: underline;
}
}
.searchbar {
border-color: $highlight-colour;
border-style: solid;
border-width: 1px;
border-radius: 20px;
display: block;
margin: 10px;
padding: 10px;
width: 500px;
}
@media only screen and (max-width: 550px) {
.searchbar {
width: 90%;
}
}
.searchbar-sm {
border-radius: 5px;
display: block;
margin: 7px;
padding: 7px;
width: 500px;
}
@media only screen and (max-width: 768px) {
.searchbar-sm {
width: 190px;
}
}
.searchbutton {
background-color: $secondary-background-colour;
border-style: none;
margin: 11px 4px;
padding: 8px 16px;
}
.text-input-table {
margin: 15px 45px;
tr {
font-size: 10pt;
td .searchbutton {
float: right;
background-color: $affordance-colour;
color: $primary-background-colour;
}
}
}
.vertical-center {
margin-top: 150px;
}
@media only screen and (max-height: 500px) {
.vertical-center {
margin-top: 15px;
}
}
#{$ui-tags-hover} {
box-shadow: 0 0 1px 1px $highlight-colour;
outline: none;
}