Skip to content

Commit 71c0219

Browse files
author
CCCStudioCoder
committed
fishing index.html
1 parent 56d0397 commit 71c0219

File tree

2 files changed

+29
-13
lines changed

2 files changed

+29
-13
lines changed

general.css

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,38 +144,47 @@ div#results a {
144144
src: url('images/Minecraft.ttf') format('truetype');
145145
}
146146

147-
div#featured {
148-
width: 95%;
147+
148+
/* Index page styles */
149+
div.emphasis {
150+
width: 90%;
149151
height: 50%;
150152
background-color: white;
151153
border-radius: 50px;
154+
position: relative;
155+
left: 2.5%;
152156
padding: 10px;
157+
margin-top: 5%;
153158
border: 3px solid black;
154159
}
160+
div *:not(.emphasis-header) {
161+
margin-right: auto;
162+
}
155163

156-
#featured-header {
164+
.emphasis-header {
157165
display: flex; /* Use flexbox for alignment */
158166
justify-content: space-between; /* Space elements to opposite ends */
159167
align-items: center; /* Vertically align items */
160168
width: 100%; /* Ensure it spans the full width */
161169
margin-bottom: 10px; /* Add spacing below the header */
170+
gap: 60%; /* Add spacing between child elements */
162171
}
163172

164-
#featured-header p {
173+
.emphasis-header p, .emphasis-header a {
165174
margin: 0; /* Remove default margin */
166-
font-size: 24px; /* Adjust font size if needed */
167-
font-weight: bold;
175+
font-size: 24px !important; /* Adjust font size if needed */
176+
font-weight: bold !important; /* Make text bold */
168177
}
169178

170-
#featured-header a {
179+
.emphasis-header a {
171180
text-decoration: none;
172181
color: blue;
173182
font-size: 18px;
174183
font-weight: bold;
175184
transition: color 0.3s;
176185
}
177186

178-
#featured-header a:hover {
187+
.emphasis-header a:hover {
179188
color: darkblue; /* Change color on hover */
180189
}
181190

index.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
<a href="sustain">Sustain</a>
1616
</ol></nav>
1717
<h1>Welcome to CCCStudio website</h1>
18-
<img src="images/progressbar.gif" alt="progress" id="bgvid" style="position: relative; top: 90px; left: 10%;">
18+
<img src="images/progressbar.gif" alt="progress" style="position: relative; top: 90px; left: 10%;">
1919
<p>
2020
<b>Here you can find info over me and my projects.</b>
2121
</p>
2222
<p>Work in </p>
23-
<div id="featured">
24-
<div id="featured-header">
23+
<div class="emphasis">
24+
<div class="emphasis-header">
2525
<p>Featured projects</p>
26-
<a href="projects.html">See more</a>
26+
<a href="projects">See all</a>
2727
</div>
2828
<article>
2929
<a href="ore_pack/" alt="Ore pack">
3030
<p>Ore pack</p>
31-
<img src="images/ore_pack_logo.png" alt="ore pack" id="orepack">
31+
<img src="images/ore_pack_logo.png" alt="ore pack">
3232
</a>
3333
</article>
3434
<article>
@@ -38,5 +38,12 @@ <h1>Welcome to CCCStudio website</h1>
3838
</a>
3939
</article>
4040
</div>
41+
<div class="emphasis">
42+
<div class="emphasis-header">
43+
<p>Statistics</p>
44+
<a href="stats">See more</a>
45+
</div>
46+
<img src="images/total-download.png" alt="total downloads" id="total-downloads">
47+
</div>
4148
</body>
4249
</html>

0 commit comments

Comments
 (0)