-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
195 lines (169 loc) · 3.87 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
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
186
187
188
189
190
191
192
193
194
195
* {
box-sizing: border-box;
}
html, body {
min-height: 100%;
background: #fff;
color: #000;
}
/* sets the body height of the browser, so that backgrounds and div heights work correctly. Color and background will almost certainly be altered; they are just placeholders */
body {
font-size: 1.4rem;
text-rendering: optimizeLegibility;
}
/* sets the base font size for the document; turns on kerning pairs and ligatures */
body, ul, ol, dl {
margin: 0;
}
article, aside, audio,
footer, header, nav, section, video {
display: block;
}
/* ensures that older browsers will display HTML5 elements correctly */
h1 {
font-size: 1.4rem;
}
/* begins to set up font sizes relative to base rem – h1 has been used as an example */
p {
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-moz-hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
/* sets hyphenation by default on paragraphs */
textarea {
resize: vertical;
}
/* changes textarea resizing from "both" (UA default) to vertical only */
table { border-collapse: collapse; }
td {
padding: .5rem;
}
/* causes tables to actually look like tables */
img {
border: none;
max-width: 100%;
}
/* removes outlines from linked images (for older browsers and IE), sets up images for responsive design layout */
input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner {
border : 0px;
}
/* removes the inner border effect from focused buttons for form elements in Firefox */
input[type="search"] {
-webkit-appearance: textfield;
}
input[type="submit"] {
-webkit-appearance:none;
}
/* removes the OS X appearance from HTML5 search inputs and submit buttons when viewed in Safari */
input:required:after {
color: #f00;
content: " *";
}
/* sets up required form fields with the conventional following red asterix */
input[type="email"]:invalid {
background: #f00;
}
/* causes a visual alert in browsers that do client-side checking of HTML5 email field – this may already be the default in some browsers. */
.right {
float: right;
margin-left: 2rem;
clear: right;
}
.left {
float: left;
margin-right: 2rem;
clear: left;
}
/* allows a quick shortcut for floating elements left and right while avoiding the “float quirk” problem */
sub, sup {
line-height: 0;
}
/* Add a black background color to the top navigation */
.topnav {
background-color: #333;
overflow: hidden;
}
/* Style the links inside the navigation bar */
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
background-color: #04AA6D;
color: white;
}
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&family=Roboto:wght@300&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: inherit;
}
html{
height: 100%;
}
body{
font-family: 'Open Sans', sans-serif;
display: flex;
flex-direction: column;
min-height: 100%;
}
a{
text-decoration: none;
}
footer{
background-color: #272727;
text-align: center;
text-transform: uppercase;
padding-top: 30px;
margin-top: auto;
}
footer li{
list-style: none;
margin: 10px;
display: inline-block;
}
.icons a{
background: #52527a;
color: #272727;
padding: 14px;
font-size: 20px;
border-radius: 100%;
display: flex;
}
.icons a:hover{
color: #ffffff;
transition: 0.5s;
}
.menu a{
color: #ffffff;
text-transform: capitalize;
}
.menu a:hover{
color: #52527a;
transition: 0.5s;
}
.footer-copyright{
background-color:#52527a;
color: #ffffff;
padding: 15px;
margin-top: 30px;
text-transform: capitalize;
}
.footer-copyright p{
margin-bottom: 0px;
}