forked from ruh32/lekhaniMag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvisualArt.css
176 lines (160 loc) · 2.59 KB
/
visualArt.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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
.submit{
text-align: center;
}
.sup {
color: white;
padding: 16px 32px;
font-size: 16px;
font-family: Verdana;
text-align: center;
transition-duration: 0.4s;
cursor: pointer;
background-color: white;
color: black;
border: 2px solid #3e0550;
}
button:hover {
background-color: #3e0550;
color: white;
}
.body{
font-family: 'Times New Roman';
}
.edits {
padding-left: 10%;
padding-right: 10%;
}
.points {
padding-left: 5%;
padding-left: 5%;
}
@media screen and (max-width: 650px) {
.column {
width: 100%;
display: block;
}
}
/* navigation bar */
.navbar a {
text-decoration: none;
}
.navbar li {
list-style: none;
}
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
background-color: #3e0550;
color: #fff;
}
.nav-links a {
color: #fff;
font-family: 'Poppins';
}
/* NAVBAR MENU */
.menu {
display: flex;
gap: 1em;
font-size: 18px;
margin: 0;
padding: 0;
}
.menu li:hover {
background-color:#3e0550;
border-radius: 5px;
transition: 0.3s ease;
}
.menu li {
padding: 5px 14px;
}
/* DROPDOWN MENU */
.services {
position: relative;
}
.dropdown {
background-color: #3e0550;
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: #3e0550;
position: relative;
}
.services:hover .dropdown {
display: block;
}
/*footer*/
.footer{
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
margin-top: 150px;
width:100%;
padding: 10px 15%;
background: #a02884;
color: #efefef;
display: flex;
/* these two lines added to fix footer to the bottom of the page*/
}
.footer div{
text-align: center;
}
.col-2{
flex-grow: 2;
}
.footer div h3{
font-weight: 300;
margin-bottom: 30px;
letter-spacing: 1px;
}
.col-1 a{
display: block;
text-decoration: none;
color: #efefef;
margin-bottom: 10px;
}
form input{
width: 400px;
height: 45px;
border-radius: 4px;
text-align: center;
margin-top: 20px;
margin-bottom: 40px;
outline: none;
border: none;
}
form button{
background: transparent;
border: 2px solid #fff;
color: #fff;
border-radius: 30px;
padding: 10px 30px;
font-size: 15px;
cursor: pointer;
}
.social-icons{
margin-top: 30px;
}
.social-icons a{
font-size: 22px;
margin: 10px;
cursor: pointer;
color: #fff
}