-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
185 lines (145 loc) · 2.97 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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/* Margin/Padding notation : Top, Right, Bottom, Left */
html, body {
font-family: 'Open Sans';
width: 100%;
margin: 0;
}
body {
background-color: #282828; /* #191919 = (25, 25, 25)
#282828 = (40, 40, 40)
#e1e1e1 = (225, 225, 225) */
}
#viewport {
overflow-x: hidden;
}
#contentPanel {
width: 75%;
height: 100%;
margin: 0 12.5% 5% 12.5%;
background-color: #282828;
}
/**********************************************/
header {
/*border: solid 1px red;*/
width: 100%;
height: 15em;
background-color: #282828;
}
header #logo {
display: block;
height: 100%;
}
/**********************************************/
/* Responsive Web Design Navigation Menu Tutorial */
/* https://www.youtube.com/watch?v=97njQRCVxPU */
#nav-menu {
/*border: solid 1px blue;*/
font-weight: lighter;
font-size: 20px;
float: left;
width: 200px;
padding-right: 30px;
}
#nav-menu-items li {
list-style: none;
margin: 20px;
}
#nav-menu-items li a {
display: block;
padding: 10px 20px 10px 20px;
text-decoration: none;
color: #e1e1e1;
}
#nav-menu-items a:hover {
-webkit-transition: 0.5s;
transition: 0.5s;
background: #3cb0fd;
}
#nav-menu-items a.selected {
background: #191919;
}
#menu-trigger {
display: none;
overflow: hidden;
padding: 10px 25px;
font-size: 75%;
color: #e1e1e1;
background-color: #191919;
cursor: pointer;
}
@media screen and (max-width: 720px) {
#contentPanel {
width: 90%;
margin: 0 5% 5% 5%;
}
header #logo {
margin: 0 auto;
}
#menu-trigger {
display: block;
}
#nav-menu {
width: 100%
}
#nav-menu-items {
display: none;
}
#nav-menu-items.nav-expanded {
display: block;
}
#nav-menu-items li {
border-bottom: 1px solid #e1e1e1;
margin: 0;
}
#nav-menu-items li:last-child {
border-bottom: none;
}
}
/**********************************************/
.animated-box-shadow {
-webkit-transition: box-shadow 400ms;
transition: box-shadow 400ms;
}
.fixed-box-shadow {
-webkit-transition: box-shadow 800ms;
transition: box-shadow 800ms;
}
#content {
/*border: solid 1px red;*/
font-size: 20px;
overflow-x: hidden;
padding: 25px 7.5% 50px 10%; /* 25px 50px 50px 75px */
background-color: #e1e1e1;
}
#content p {
text-align: justify;
}
/*--------------------------------------------*/
#content img {
display: block;
max-width: 100%;
max-height: 100%;
margin-left: auto;
margin-right: auto;
}
#home img {
max-width: 75%;
}
#support p {
text-align: center;
}
#support img {
max-width: 50%;
}
#support a {
display: block;
}
#support .leftAligned {
text-align: left;
}
#contact img {
max-width: 50%;
}
#contact p {
text-align: center;
}