-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.css
162 lines (143 loc) · 3.05 KB
/
global.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&family=Roboto+Mono&display=swap');
body {
background-image: url("background.jpg");
background-repeat: no-repeat;
font-family: "Roboto Mono";
color: #953ca7;
margin: 0px;
}
h2{
padding-left: 10px;
}
p {
color: rgb(190, 28, 169);
}
.topnav {
background-color: rgb(184, 127, 181);
overflow: hidden;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 20px 24px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: rgb(190, 28, 169);
}
.topnav a.active {
background-color: #953ca7;
color: white;
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 768px) {
.topnav.responsive {position: relative;}
.topnav.responsive a.icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}
/* Style the input container */
.topnav .login-container {
float: right;
}
/* Style the input field inside the navbar */
.topnav input[type=text] {
padding: 6px;
margin-top: 8px;
font-size: 17px;
border: none;
width: 150px; /* adjust as needed (as long as it doesn't break the topnav) */
}
/* Style the button inside the input container */
.topnav .login-container button {
float: right;
padding: 6px;
margin-top: 8px;
margin-right: 16px;
background: #ddd;
font-size: 17px;
border: none;
cursor: pointer;
color: #924da0;
}
.topnav .login-container button:hover {
background: #ccc;
}
@media screen and (max-width: 768px) {
.topnav .login-container {
float: none;
}
.topnav a, .topnav input[type=text], .topnav .login-container button {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
}
}
.title1 {
text-align: center;
}
.p1 {
font-family: "Poppins";
font-weight: 400;
text-align: center;
}
.footer {
left: 0;
bottom: 0;
width: 100%;
background-color: rgb(167, 90, 160);
color: white;
text-align: center;
}
/* Style all font awesome icons */
.footer .fa {
padding: 20px;
font-size: 30px;
width: 50px;
text-align: center;
text-decoration: none;
}
/* Add a hover effect if you want */
.footer .fa:hover {
opacity: 0.7;
}
/* Set a specific color for each brand */
/* Facebook */
.fa-facebook {
background: transparent;
color: white;
font-size: 30px;
width: 30px;
height: 30px;
text-align: center;
text-decoration: none;
border-radius: 50%;
}
/* Twitter */
.fa-twitter {
background: transparent;
color: white;
font-size: 30px;
width: 30px;
height: 30px;
text-align: center;
text-decoration: none;
border-radius: 50%;
}