1
0
Fork 0

Compare commits

..

No commits in common. "ac491e14d2951289607e359dfed3e42567b4b69f" and "e3f9e580f38377bf32a8e90523b032c1bec75d43" have entirely different histories.

4 changed files with 14 additions and 59 deletions

View File

@ -1,13 +1,11 @@
<header id="top"> <header id="top">
<img src="../site-resources/assets/header-cat.svg" height="32px" width="32px"> <img src="../site-resources/assets/header-cat.svg" height="32px" width="32px">
<span> <p>This cat rocks!</p>
<p>This cat rocks!</p> <p>A homepage for my fine feline friend, Baxter</p>
<p>A homepage for my fine feline friend, Baxter</p> <nav>
<nav> <a href="index.php">Home</a>
<a href="index.php">Home</a> <a href="loveletter.php">Love you, Baxter</a>
<a href="loveletter.php">Love you, Baxter</a> <a href="behavior.php">Baxter's behaviors</a>
<a href="behavior.php">Baxter's behaviors</a> <a href="about.php">About this site</a>
<a href="about.php">About this site</a> </nav>
</nav>
</span>
</header> </header>

View File

@ -34,9 +34,9 @@
</section> </section>
<h3 class="facts-header">Baxter facts!</h3>
<section class="baxter-info"> <section class="baxter-info">
<h3 class="facts-header">Baxter facts!</h3>
<div class="baxter-is"> <div class="baxter-is">
<p>Baxter is:</p> <p>Baxter is:</p>
<ul> <ul>
@ -75,9 +75,9 @@
</div> </div>
</section> </section>
<h3>My favorite photos of Baxter</h3>
<section class="favorite-baxter-photos"> <section class="favorite-baxter-photos">
<h3>My favorite photos of Baxter</h3>
<figure> <figure>
<img src="./img/posed-baxter.jpg" alt="My cat Baxter laying on my chest over a blanket in bed looking at the camera. The many details and patterns of his mackeral tabby fur pattern are fully visible"> <img src="./img/posed-baxter.jpg" alt="My cat Baxter laying on my chest over a blanket in bed looking at the camera. The many details and patterns of his mackeral tabby fur pattern are fully visible">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,9 +1,3 @@
:root {
--section-color: #fccce4bb;
--border-color: #f6da92;
--header-color: #fc94bcbb;
}
*, *::before, *::after { *, *::before, *::after {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -15,8 +9,6 @@ html {
} }
body { body {
background-image: url("../site-resources/assets/bg.png");
background-attachment: fixed;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@ -28,7 +20,7 @@ main {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 2rem; gap: 2rem;
width: 60vw; width: 50rem;
height: auto; height: auto;
} }
@ -75,21 +67,14 @@ main {
.favorite-baxter-photos { .favorite-baxter-photos {
display: grid; display: grid;
grid-template-rows: 5rem 25rem 25rem; grid-template-rows: 25rem 25rem;
grid-template-columns: 20rem 20rem; grid-template-columns: 20rem 20rem;
gap: 1rem;
justify-items: center; justify-items: center;
justify-content: center;
}
.favorite-baxter-photos h3 {
grid-row: 1/2;
grid-column: 1/3;
} }
.favorite-baxter-photos figure { .favorite-baxter-photos figure {
height: 22.5rem; height: 20rem;
width: 22.5rem; width: 20rem;
text-wrap: wrap; text-wrap: wrap;
text-align: center; text-align: center;
} }
@ -100,31 +85,3 @@ main {
object-fit: fill; object-fit: fill;
} }
header {
width: 100%;
height: auto;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
padding: 1rem;
background-color: var(--header-color);
border-bottom: 4px solid var(--border-color);
}
header img {
height: 48px;
width: auto;
}
section {
background-color: var(--section-color);
padding: 1.25rem;
border: 4px solid var(--border-color);
border-radius: 15px;
width: 60vw;
}
section img {
border-radius: 15px;
}