-
Notifications
You must be signed in to change notification settings - Fork 0
/
createatxstyles.css
117 lines (107 loc) · 1.85 KB
/
createatxstyles.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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
line-height: 1.6;
text-align: center;
font-family: 'Georgia';
}
.container {
height: 1000 px;
display: flex;
align-items: center;
justify-content:center;
}
a {
text-decoration: none;
}
li {
list-style: none;
}
h1{
text-align: center;
margin: 0 auto;
}
h2{
text-align: center;
margin: 0 auto;
}
h3{
text-align: center;
margin: 0 auto;
}
p{
text-align: center;
margin: 0 auto;
}
form {
margin-left: 20;
text-align: center;
margin: 0 auto;
}
/* NAVBAR STYLING STARTS */
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
background-color: teal;
color: #fff;
margin-left: 0 px;
}
.nav-links a {
color: #fff;
}
/* LOGO */
.logo {
font-size: 32px;
}
/* NAVBAR MENU */
.menu {
display: flex;
gap: 1em;
font-size: 18px;
}
.menu li:hover {
background-color: #4c9e9e;
border-radius: 5px;
transition: 0.3s ease;
}
.menu li {
padding: 5px 14px;
}
/* DROPDOWN MENU */
.services {
position: relative;
}
.dropdown {
background-color: rgb(1, 139, 139);
padding: 1em 0;
position: absolute; /*WITH RESPECT TO PARENT*/
display: none;
border-radius: 8px;
top: 35px;
}
.dropdown li + li {
margin-top: 10px;
}
.dropdown li {
padding: 0.5em 1em;
width: 8em;
text-align: center;
}
.dropdown li:hover {
background-color: #4c9e9e;
}
.services:hover .dropdown {
display: block;
}
body{
font-family: 'Open Sans', sans-serif;
}
#articleintro{
font-size: 30px;
text-align: center;
margin: 0 auto;
}