This commit is contained in:
vista-man
2025-01-25 21:28:13 +01:00
parent 8010876630
commit 7e382ffd70
2 changed files with 36 additions and 15 deletions

View File

@@ -6,6 +6,7 @@
</head> </head>
<body> <body>
<div class="container">
<h1>Welcome to My Simple Wikipedia</h1> <h1>Welcome to My Simple Wikipedia</h1>
<p>This is a basic example of a simple Wikipedia-like page. <p>This is a basic example of a simple Wikipedia-like page.
@@ -28,6 +29,7 @@
<p>The larva grows and molts several times, eventually forming a chrysalis. <p>The larva grows and molts several times, eventually forming a chrysalis.
Inside the chrysalis, the larva undergoes a remarkable transformation, Inside the chrysalis, the larva undergoes a remarkable transformation,
emerging as a beautiful butterfly.</p> emerging as a beautiful butterfly.</p>
</div>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>

View File

@@ -1,15 +1,33 @@
body { body {
font-family: sans-serif; font-family: sans-serif;
margin: 20px; margin: 20px;
background-color: #f0f0f0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
} }
h1 { h1 {
color: #333; color: #333;
text-align: center;
margin-bottom: 30px;
}
h2 {
color: #007bff;
margin-top: 40px;
} }
p { p {
color: #555; color: #555;
line-height: 1.6; line-height: 1.6;
text-indent: 20px;
} }
a { a {
@@ -19,4 +37,5 @@ a {
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
color: #0056b3;
} }