Skip to content

Commit

Permalink
Update styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenHallLtd committed Nov 15, 2023
1 parent 73ffc13 commit 0752c3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h3 class="project__heading">Video Chat App</h3>
<section class="section promo">
<div class="container">
<h2 class="promo__heading">
A master craftsman of <br />
A master craftsman&nbsp;of <br />
clean, maintainable code.
</h2>
<p class="promo__description">
Expand Down Expand Up @@ -143,7 +143,7 @@ <h3 class="project__heading">3D Collectibles App</h3>
<div class="container">
<h2 class="promo__heading">
A keen eye for design <br />
and creating the best UX.
and creating the best&nbsp;UX.
</h2>
<p class="promo__description">
I started my career as a designer, so I bring products to life with
Expand Down Expand Up @@ -343,7 +343,7 @@ <h3 class="project__heading">And so much more...</h3>
</ul>
<p>
I've been on such an incredible journey throughout my career, using
all kinds of tools, technologies and techniques spanning all sorts of
all kinds of tools, technologies and techniques, spanning all sorts of
use-cases and sectors – I simply couldn't share it all here. If you
have a specific requirement and would like some more relevant
examples, please <a href="#contact">get in&nbsp;touch</a>.
Expand Down
26 changes: 15 additions & 11 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ html {
min-width: 20em;
min-height: 20em;
background: #1a1a1a;
color: #ffffff;
color: #a1a1a1;
font-family: "Gilroy", sans-serif;
text-align: center;
line-height: 2;
Expand Down Expand Up @@ -60,10 +60,6 @@ a:hover {
color: #3399ff;
}

br.desktop {
display: none;
}

.section {
display: flex;
position: relative;
Expand All @@ -81,19 +77,22 @@ br.desktop {
}

.promo__heading {
color: #ffffff;
margin-bottom: 0.5rem;
font-size: 1.5em;
font-size: 2.25em;
line-height: 1.25;
letter-spacing: -0.025em;
}

.promo__heading > br {
display: none;
}

.promo__description {
margin: 0 auto;
color: #a3a3a3;
}

.project {
color: #a3a3a3;
position: relative;
text-align: justify;
}
Expand Down Expand Up @@ -128,6 +127,7 @@ br.desktop {
}

.project__link {
color: #ffffff;
display: inline-block;
font-weight: bold;
}
Expand Down Expand Up @@ -192,6 +192,10 @@ br.desktop {
line-height: 1.25;
}

.contact__heading {
color: #ffffff;
}

.contact__options {
margin: 1rem 0;
padding: 0;
Expand Down Expand Up @@ -226,13 +230,13 @@ br.desktop {
.promo__heading {
font-size: 2em;
}
}

@media screen and (min-width: 45em) {
br.desktop {
.promo__heading > br {
display: inline;
}
}

@media screen and (min-width: 45em) {
.promo {
font-size: 21px;
line-height: 2.5;
Expand Down

0 comments on commit 0752c3a

Please sign in to comment.