-
Notifications
You must be signed in to change notification settings - Fork 0
/
email.html
218 lines (218 loc) · 4.97 KB
/
email.html
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>News Email</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
*,
::before,
::after {
box-sizing: border-box;
}
body {
margin: 0px;
background-color: whitesmoke;
}
.head h1 {
color: aqua;
background-color: black;
font-size: 50px;
padding: 20px 0px;
margin: 0px;
margin-left: 20px;
text-align: center;
}
.head {
padding-left: 15px;
background-color: black;
display: flex;
align-content: center;
align-items: center;
justify-content: space-around;
}
#login {
margin-left: auto;
margin-right: 20px;
background-color: crimson;
color: white;
}
#register {
margin-right: 40px;
background-color: rgb(194, 194, 194);
}
.head button {
font-size: 30px;
border-radius: 10px;
padding: 10px;
transition: all 0.3s;
}
#login:hover {
transform: scale(1.1);
background-color: red;
}
#register:hover {
transform: scale(1.1);
background-color: whitesmoke;
}
.navbar {
list-style-type: none;
display: flex;
justify-content: space-evenly;
padding: 20px 0px;
margin: 0px;
background-color: rgb(56, 56, 56);
}
nav {
position: sticky;
z-index: 1;
border-bottom: 1px solid white;
box-shadow: 2px 0px 10px 0px orange;
top: 0px;
}
.navbar a {
text-decoration: none;
font-size: larger;
color: white;
font-size: 25px;
}
.navbar a:hover {
color: gold;
}
.menu {
display: grid;
background-color: rgb(56, 56, 56);
grid-template-columns: repeat(3, 1fr);
gap: 20px;
justify-content: space-evenly;
color: white;
}
h2 {
text-align: center;
margin: 3px;
padding-top: 10px;
}
.menu div {
display: flex;
flex-direction: column;
border-right: 3px solid white;
padding-bottom: 20px;
}
.menu ul {
margin: auto auto;
font-size: 18px;
padding-left: 10px;
}
footer p {
background-color: black;
color: white;
text-align: center;
font-size: large;
margin: 0px;
padding: 15px;
}
hr {
width: 80%;
margin-bottom: 15px;
}
main {
min-height: 200px;
}
button a {
text-decoration: none;
color: white;
}
.article {
display: grid;
grid-template-columns: 50% 50%;
background-color: aquamarine;
align-items: center;
justify-content: space-around;
align-content: center;
min-height: 300px;
border: 2px solid purple;
padding: 40px;
margin: 20px;
transition: all 0.3s;
}
.article:nth-of-type(2n) {
background-color: beige;
}
.article img {
box-shadow: 3px 3px 10px 1px rgb(163, 163, 163);
}
.desc > a {
background-color: black;
display: inline-block;
color: white;
font-size: 18px;
padding: 10px;
}
.date {
font-size: 20px;
background-color: blue;
padding: 10px;
display: inline-block;
color: white;
}
.source {
background-color: red;
color: white;
padding: 10px;
font-size: 18px;
margin-top: 10px;
display: inline-block;
}
.article h2 {
font-family: "lobster two";
background-color: white;
padding: 10px;
border: 2px solid black;
}
.article p {
font-size: 18px;
font-weight: 500;
}
.search {
margin-left: 100px;
font-size: 22px;
padding: 5px;
padding-left: 20px;
}
#search {
font-size: 22px;
padding: 7px;
background-color: gold;
color: black;
border-radius: 3px;
transition: all 0.3s;
}
#search:hover {
background-color: rgba(255, 217, 0, 0.8);
}
.greet {
background-color: blue;
color: white;
font-size: 1.5rem;
padding: 0.4em;
margin: 0.4em;
border: none;
margin-bottom: -1em;
}
</style>
</head>
<body>
<header>
<div class="head">
<img src="public/favicon.ico" alt="" />
<h1>MInews</h1>
</div>
</header>
<main></main>
<footer>
<p>©copyright 2022, CHATews PVT LTD.</p>
</footer>
</body>
</html>