-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbase.css
More file actions
128 lines (109 loc) · 2.27 KB
/
Copy pathbase.css
File metadata and controls
128 lines (109 loc) · 2.27 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
Base Trafford Data Lab styles to provide the basic styling.
*/
html, body
{
padding: 0;
margin: 0;
height: 100%;
font-family: 'Open Sans', sans-serif;
color: #212121;
background-color: #fff;
}
/* HTML5 fallback styles for older browsers */
main, section, header, footer, nav, figure, figcaption
{
display: block;
box-sizing: border-box;
}
/* ---------------------------------------- */
a, .themeLink
{
color: #046dc3;
}
a
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
/* For areas of block colour such as div "card" layouts with no images, info panels, banners etc. */
.themeBlockDark
{
background-color: #5d77a3;
color: #000;
}
.themeBlockDark a, a .themeBlockDark /* Links within a .themeBlockDark area need to be white for contrast. The "mirror" declaration here ensures that any .themeBlockDark content surrounded by a link is also rendered white */
{
color: #fff;
}
.themeBlockLight
{
background-color: #f5f9ff;
}
.highContrastBlock
{
background-color: #212121;
color: #fff;
}
.highContrastBlockDyslexia
{
background-color: #ffff00;
color: #000;
}
h1, h2, h3, h4, h5, h6, header
{
font-family: 'Roboto', sans-serif;
color: #707070;
}
img
{
border: 0;
}
hr
{
border: 0;
height: 1px;
background: #ccc;
background-image: linear-gradient(to right, #f0f0f0, #ccc, #f0f0f0);
}
.hideContent, .filterTags
{
display: none;
}
/* Used for reference text or clarification notes mostly */
.smallText
{
font-size: 0.8em;
}
/*
.labButton is our style for HTML buttons.
.labBorder is for any boxed content e.g. input boxes, div 'cards' etc. It puts a thin border around the content which becomes a halo on-hover.
The two styles are created together below so that .labButton can be used on its own without having to specify .labBorder as well.
*/
.labButton
{
font-size: 0.8em;
background-color: #707070;
color: #fff;
padding: 3px 5px 3px 5px;
text-align: center;
display: inline-block;
}
.labButton, .labBorder
{
border: 1px solid #ccc;
border-radius: 3px;
}
.labButton:hover
{
cursor: pointer;
text-decoration: none;
}
.labButton:hover, .labBorder:hover
{
border: 1px solid #5d77a3;
box-shadow: 0 0 5px #5d77a3;
}