-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
147 lines (147 loc) · 2.55 KB
/
style.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
body {
font-family: 'Abel', Arial, sans-serif;
background-color: lightgrey;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Nerko One', cursive;
color: indianred
}
h2 {
font-size: 31px;
}
p {
font-size: 20px;
text-align: justify;
}
a {
color: indianred;
}
header h1 {
width: 50%;
margin: 0;
padding: 5%;
font-style: italic;
}
header {
background-image: url("header-bg.jpg");
background-attachment: fixed;
background-position: top center;
background-repeat: no-repeat;
}
footer {
background-color: indianred;
height: 300px;
padding: 20px 50px;
text-align: center;
}
nav {
position: sticky;
top: 0;
width: 100%;
text-align: center;
}
nav ul {
margin: 0;
padding: 0;
}
nav li{
list-style: none;
display: inline-block;
background-color: indianred;
color: white;
width: 25%;
text-align: center;
padding: 10px;
}
nav a {
color:white;
text-decoration: none;
}
nav a:hover {
color:goldenrod;
}
nav a:active {
color:goldenrod;
font-weight: bold;
}
main {
width: 90%;
margin: 0 auto;
}
.structuretable {
border-spacing: 0;
width: 100%;
}
.structuretable th {
background-color:darkslategray;
color: white;
padding: 10px;
}
.structuretable td {
vertical-align: top;
padding: 10px;
border-bottom: 1px solid darkslategray;
}
td.element {
font-weight: bold;
background-color:whitesmoke;
text-align: center;
color: darkslategray;
vertical-align: middle;
border: 0;
}
.exampletable {
margin: 0 auto;
}
.exampletable td {
border: 1px solid indianred;
padding: 10px;
width: 100%;
font-weight: bold;
}
.insiderows {
background-color: lightslategray;
color: white;
}
.insideinsiderows {
background: darkslategray;
color: white;
}
.insideinsideinsiderows {
background: white;
color: indianred;
}
td#spancell {
width: 30%;
}
.contact-details h3, .contact-details a {
color: white;
font-size: 30px;
text-decoration: none ;
}
/*For Desktop*/
@media only screen and (min-width: 610px) {
.exampletable {
width: 75%;
}
header h1 {
font-size: 50px;
}
header {
background-size: cover;
height: 440px;
}
}
/*For Mobile*/
@media only screen and (max-width: 610px) {
.exampletable {
width: 100%;
}
header h1 {
font-size: 31px;
}
header {
background-size: contain;
height: 260px;
}
}