Compare commits
No commits in common. "ac491e14d2951289607e359dfed3e42567b4b69f" and "e3f9e580f38377bf32a8e90523b032c1bec75d43" have entirely different histories.
ac491e14d2
...
e3f9e580f3
|
@ -1,6 +1,5 @@
|
|||
<header id="top">
|
||||
<img src="../site-resources/assets/header-cat.svg" height="32px" width="32px">
|
||||
<span>
|
||||
<p>This cat rocks!</p>
|
||||
<p>A homepage for my fine feline friend, Baxter</p>
|
||||
<nav>
|
||||
|
@ -9,5 +8,4 @@
|
|||
<a href="behavior.php">Baxter's behaviors</a>
|
||||
<a href="about.php">About this site</a>
|
||||
</nav>
|
||||
</span>
|
||||
</header>
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
|
||||
</section>
|
||||
|
||||
<h3 class="facts-header">Baxter facts!</h3>
|
||||
|
||||
<section class="baxter-info">
|
||||
<h3 class="facts-header">Baxter facts!</h3>
|
||||
<div class="baxter-is">
|
||||
<p>Baxter is:</p>
|
||||
<ul>
|
||||
|
@ -75,9 +75,9 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<h3>My favorite photos of Baxter</h3>
|
||||
|
||||
<section class="favorite-baxter-photos">
|
||||
<h3>My favorite photos of Baxter</h3>
|
||||
<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">
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
|
@ -1,9 +1,3 @@
|
|||
:root {
|
||||
--section-color: #fccce4bb;
|
||||
--border-color: #f6da92;
|
||||
--header-color: #fc94bcbb;
|
||||
}
|
||||
|
||||
*, *::before, *::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -15,8 +9,6 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
background-image: url("../site-resources/assets/bg.png");
|
||||
background-attachment: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
@ -28,7 +20,7 @@ main {
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
width: 60vw;
|
||||
width: 50rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
@ -75,21 +67,14 @@ main {
|
|||
|
||||
.favorite-baxter-photos {
|
||||
display: grid;
|
||||
grid-template-rows: 5rem 25rem 25rem;
|
||||
grid-template-rows: 25rem 25rem;
|
||||
grid-template-columns: 20rem 20rem;
|
||||
gap: 1rem;
|
||||
justify-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.favorite-baxter-photos h3 {
|
||||
grid-row: 1/2;
|
||||
grid-column: 1/3;
|
||||
}
|
||||
|
||||
.favorite-baxter-photos figure {
|
||||
height: 22.5rem;
|
||||
width: 22.5rem;
|
||||
height: 20rem;
|
||||
width: 20rem;
|
||||
text-wrap: wrap;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -100,31 +85,3 @@ main {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue