-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (104 loc) · 1.77 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
p {
font-size: 18px;
color:black;
font-family: arial;
}
main{
background-color: rgb(31, 48, 99);
}
div{
background-color: rgb(31, 48, 99);
padding: 20px;
}
/* making the horizontal borders bolder will help divide the page into coherent sections*/
hr{
height: 10px;
background-color: black;
margin:5px;
}
/*centering my image on the page*/
.center{
display: block;
margin-left: auto;
margin-right: auto;
}
form label {
display: block;
font-size: 18px;
margin-bottom: 5px;
color: gray;
font-family: arial;
}
h1, h2, h3 {
text-align: center;
}
header h1{
color: whitesmoke;
margin: 0;
padding-left: 10px;
}
Footer{
text-align: center;
background-color:gray;
padding: 7px;
}
/*adding emphasis to my intrests and ways to contact me*/
article {
background-color: gray;
padding: 5px;
}
/* adding Link,Visited,Hover, and Active qualities to my links with pseudo classes*/
a:link {color: blue;}
a:visited {color: purple;}
a:hover {color: green;}
a:active {color: black;}
body {
margin: 0;
}
header {
background-color: rgb(29, 41, 78);
margin-bottom: 4px;
}
header h1 {
font-size: 52px;
color: #fff;
text-align: center;
margin: 0;
padding-top: 20px;
}
header nav {
display: flex;
justify-content: center;
}
header nav ul {
display: flex;
padding-left: 0;
list-style: none;
}
header nav ul li a {
color: #fff;
text-decoration: none;
margin: 0 20px 0 0;
}
header nav ul li:last-child a {
margin-right: 0;
}
@media all and (min-width: 800px) {
header {
display: flex;
justify-content: space-between;
padding: 0 30px;
}
header h1 {
font-size: 42px;
margin: 14px 0;
padding-top: 6px;
}
header nav {
margin-top: 14px;
}
}
.group{
display: flex;
flex-direction: column;
}