-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathancient.html
More file actions
151 lines (138 loc) · 4.27 KB
/
ancient.html
File metadata and controls
151 lines (138 loc) · 4.27 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Page Title</title>
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: 'Georgia', serif;
line-height: 1.6;
color: #333;
margin: 0;
padding: 0;
background-color: bisque;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header, nav, footer {
background-color: #3c3c3c;
color: #f4f1ea;
text-align: center;
padding: 20px;
}
header h1, nav ul, footer p {
margin: 0;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
gap: 20px;
}
nav ul li a {
color: #f4f1ea;
text-decoration: none;
}
nav ul li a:hover {
color: #ffd700;
}
main {
padding: 20px 0;
}
.article-card {
width: 90%;
background-color: #fff;
margin: 20px auto;
padding: 30px;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.article-card img {
max-width: 90%;
border-radius: 5px;
display: block;
margin: 0 auto;
}
.article-card h3{
font-size: 2em;
color: #333;
margin-top: 15px;
}
.article-card p{
font-size: 1.1em;
color: #555;
}
footer p {
font-size: 0.9em;
}
.article-card a {
display: inline-block;
margin-top: 15px;
padding: 10px 20px;
background-color: #3c3c3c;
color: #f4f1ea;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.article-card a:hover {
transform: scale(1.05);
background-color: #ffd700;
}
.article-card:hover {
transform: scale(1.05);
}
.article-card{
width: 90%;
background-color: #fff;
margin: 20px auto;
padding: 30px;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.featured-article img {
max-width: 90%;
border-radius: 5px;
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<header>
<h1>Your Website Title</h1>
<p>Your tagline or brief description</p>
</header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="ancient.html">Ancient</a></li>
<li><a href="#">Medieval</a></li>
<li><a href="#">Modern</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
<main>
<section class="article-card">
<h2>Julius Caesar: From Ambition to Immortality
</h2>
<img src="https://wallpapercave.com/wp/wp4595293.jpg" alt="Article Image">
<p> Few figures in history have left a legacy as enduring and controversial as Gaius Julius Caesar. From humble beginnings to the apex of power, Caesar's life was a masterclass in ambition, strategy, and the cost of unbridled authority. Revered as a visionary leader and reviled as a tyrant, Caesar's story encapsulates the rise and fall of one of the most influential figures of ancient Rome.
</p>
<a href="caesar.html">Read More</a>
</section>
</main>
<footer>
<p>© 2024 Your Website Name. All rights reserved.</p>
</footer>
</body>
</html>