Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style Changes 2 #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# css-exercise-two
Assignment for Fundamentals

Required me to test styling images and paragaphs with CSS
33 changes: 31 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
body {
background-color: #ff0000;
color: #0000FF;
background-color: #ffffff;
color: #000000;
}

h1 {
font-size: 2em; /* 32px */
line-height: 2;
}

figcaption {
font-size: 75%;
}

h3 {
font-size: 115%; /* Sub heading text*/
line-height: normal;
}

p {
font-size: 100%; /* 16px */
line-height: 2;
}

a:link {
text-decoration: none;
color: #000000
}

a:hover {
text-decoration:underline;
color: #ffffff
}

nav {
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<nav>
<div class="left">
<img src="images/bloc logo.png" class="logo" alt="company logo">
<img src="images/bloc-logo.png" class="logo" alt="company logo">
</div>
<ul class="right">
<li><a href="#">Contact</a></li>
Expand All @@ -20,7 +20,7 @@
<article class="container">
<header>
<figure>
<img src="instagram-pic.jpg" class="medium-pic" alt="Draplin and c2">
<img src="images/instagram-pic.jpg" class="medium-pic" alt="Draplin and c2">
<figcaption>Aaron Draplin explains that Chris Courtney has to pay the next parking ticket.</figcaption>
</figure>
<h1>Thinking beyond designer</h1>
Expand Down