This repository has been archived by the owner on May 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (81 loc) · 1.52 KB
/
styles.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
/* Global styles */
html {
/* Avoid different widths of h1 background image, etc. on longer pages */
overflow-y: scroll;
}
body {
font-size: 16pt;
}
header, footer {
text-align: center;
width: 90%;
margin-left: auto;
margin-right: auto;
}
header table {
width: 100%;
}
footer {
border: 1px solid black;
margin-top: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
/* links to the other pages should not have visited styles */
header a,
header a:visited {
color: blue;
}
h1 {
/* Center the heading text */
text-align: center;
/* h1 background - extension.json snippet */
background-image: url('./extension example.JPG');
background-repeat: no-repeat;
background-position: top center;
filter: blur(1px);
/* Make heading visible over image */
color: white;
/* Include a bit more of the image */
padding-top: 5px;
padding-bottom: 5px;
width: 90%;
margin-left: auto;
margin-right: auto;
}
/* Utility classes */
.logo {
width: 200px;
}
/* Loaded on the right so that middle column is in the center */
.logo-hidden {
visibility: hidden;
}
.center {
margin-left: auto;
margin-right: auto;
}
.width-body {
width: 50%;
}
/* For smaller widths: */
@media (max-width: 950px) {
/* No spacing logo when not useful */
.logo-hidden {
display: none;
}
/* Increase width of main content */
.width-body {
width: 70%;
}
}
@media (max-width: 500px) {
/* No main logo when too small */
.logo {
display: none;
}
/* Increase width of main content even more */
.width-body {
width: 100%;
}
}