-
Notifications
You must be signed in to change notification settings - Fork 0
/
article.html
189 lines (169 loc) · 6.48 KB
/
article.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Articles</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="chat.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Plus Jakarta Sans", sans-serif;
}
.header{
min-height: 70vh;
}
.header,
.cta,
.sub-header {
background-image: url('imgs/tempbg.png');
background-position: center;
background-size: cover;
}
.sub-header,
.light-mode .sub-header {
background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
url('imgs/tempbg.png');
}
.dark-mode .sub-header {
background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
url('imgs/tempbg.png');
}
.article {
padding: 20px;
}
.article h2 {
margin-top: 0;
}
.article .images {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.article .images a {
flex: 0 0 45%;
margin-bottom: 20px;
margin-right: 5%;
position: relative;
overflow: hidden;
}
.article img {
width: 100%;
height: auto;
min-height: 200px;
cursor: pointer;
transition: transform 0.3s ease-in-out;
}
.article .description {
background-color: rgba(173, 138, 56, 0.8);
font-size: 30px;
font-weight: 400;
color: #fff;
padding: 10px;
box-sizing: border-box;
width: 100%;
height: 100%;
position: absolute;
top: 100%;
left: 0;
opacity: 0;
transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
display: flex;
justify-content: center;
align-items: center;
}
.article .images a:hover .description {
top: 0;
opacity: 1;
}
.article .description p {
margin: 0;
font-style: italic;
}
.article p {
margin: 0;
font-style: italic;
}
</style>
</head>
<body>
<section class="header">
<nav style="padding-top: 30px;">
<img style="width: 250px; margin-left: 85px;" src="imgs/nvt1.png">
<a href="index.html"></a>
<div class="nav-links" id="navLinks">
<i class="fa fa-times" onclick="hidemenu()"></i>
<ul>
<li><a href="home2.html" style="font-size: 18px;">Home</a></li>
<li><a href="career.html" style="font-size: 18px;">Career</a></li>
<li><a href="mquiz.html" style="font-size: 18px;">Mental Health</a></li>
<li><a href="explore.html" style="font-size: 18px;">Explore</a></li>
<li><a href="ideahub.html" style="font-size: 18px;">IdeaHub</a></li>
<li><a href="community.html" style="font-size: 18px;">Community</a></li>
<li><a href="article.html" style="font-size: 18px;">Articles</a></li>
<li><a href="profile.html" style="font-size: 18px;background-color: #ad8a38; font-weight: bold; padding: 10px; border-radius: 5px;">Profile</a></li>
</ul>
</div>
<i class="fa fa-bars" onclick="showMenu()"></i>
</nav>
<br><br><br><br>
<div class="text-box">
<h1 style="padding-top: 20px; font: size 50px;">Explore the latest insights, tips, and trends in our articles section.</h1>
</div>
</section>
<!-- Article Section -->
<div class="article">
<div class="article">
<h2 style="font-size: 30px;">Career</h2><br>
<div class="images">
<a href="worklife.html">
<img src="imgs/image11.jpg" alt="Image 1">
<div class="description">How to have work life balance</div>
</a>
<a href="tips.html">
<img src="imgs/image12.jpg" alt="Image 2">
<div class="description">Tips for women to dive into technology</div>
</a>
</div>
</div>
<div class="article">
<h2 style="font-size: 30px;">Health</h2><br>
<div class="images">
<a href="mh.html">
<img src="imgs/image13.jpg" alt="Image 3">
<div class="description">How important is mental health for women</div>
</a>
<a href="anx.html">
<img src="imgs/image14.jpg" alt="Image 4">
<div class="description">How to deal with anxiety</div>
</a>
</div>
</div>
</div>
<script src="https://translate.google.com/translate_a/element.js?cb=loadGoogleTranslate"></script>
<script>
function loadGoogleTranslate() {
new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element');
}
</script>
<div id="google_translate_element"></div>
<script src="chello.js"></script>
<script src="cscript.js"></script>
<section class="footer">
<h3 style="color:#f0dbaa; font-weight: bold;">Contact Us</h3>
<div class="icons">
<i class="fab fa-facebook"></i>
<i class="fab fa-twitter"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-linkedin"></i>
</div>
</section>
</body>
</html>