-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (100 loc) · 3.34 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hyper Impressed</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Montserrat', sans-serif;
color: #333;
background-color: #f4f0ff;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.header, .footer, .nav {
width: 100%;
text-align: center;
background-color: #e0d4ff;
padding: 20px;
}
.nav a {
margin: 0 15px;
text-decoration: none;
color: #5d3dbd;
}
.main-container {
display: flex;
width: 100%;
align-items: flex-start; /* Aligns items at the top */
}
.sidebar {
flex: 1; /* Allows sidebars to take up space on the sides */
padding: 20px;
overflow-y: auto;
height: 100vh; /* Full height of the viewport */
box-sizing: border-box; /* Includes padding in the element's total width and height */
}
.content {
flex: 3; /* Content takes more space */
padding: 20px;
max-width: 1200px; /* Adjust based on preference */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin: auto; /* Centers the content */
box-sizing: border-box; /* Includes padding in the element's total width and height */
}
/* Styles for the side content rolls */
.side-roll h2 {
font-size: 1.2rem;
color: #5d3dbd;
}
.article-thumbnail, .viewed-article {
margin: 10px 0;
padding: 10px;
background-color: #e0d4ff;
border-radius: 5px;
}
</style>
</head>
<body>
<div class="header">
<h1>Welcome to Hyper Impressed</h1>
</div>
<div class="nav">
<a href="world-philosophy/index.html">World Philosophy</a>
<a href="human-philosophy/index.html">Human Philosophy</a>
<a href="exercise/index.html">Exercise</a>
</div>
<div class="main-container">
<div class="sidebar">
<!-- Previously viewed articles -->
<div class="side-roll">
<h2>Previously Viewed</h2>
<div class="viewed-article">Article 1</div>
<div class="viewed-article">Article 2</div>
<!-- Additional viewed articles -->
</div>
</div>
<div class="content">
<!-- Main content -->
<p>Main content area. This space is used for the article or main page content.</p>
</div>
<div class="sidebar">
<!-- Related articles -->
<div class="side-roll">
<h2>Related Articles</h2>
<div class="article-thumbnail">Related Article 1</div>
<div class="article-thumbnail">Related Article 2</div>
<!-- Additional related articles -->
</div>
</div>
</div>
<div class="footer">
<p>Contact us at [email protected]</p>
</div>
</body>
</html>