Skip to content

Commit

Permalink
fixed icons
Browse files Browse the repository at this point in the history
  • Loading branch information
to7m committed Aug 6, 2024
1 parent 852666c commit 1f9f08b
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 17 deletions.
24 changes: 12 additions & 12 deletions public_html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,33 +49,33 @@ <h1>My Name is Thomas Howe</h1>
<section id="project-previews"><ul>
<li><a href="#">
<img src="project-images/project-1.png">
<h3>Project One</h1>
<div>View Project</div>
<h3>Project One</h3>
<span>View Project</span>
</a></li>
<li><a href="#">
<img src="project-images/project-2.png">
<h3>Project Two</h1>
<div>View Project</div>
<h3>Project Two</h3>
<span>View Project</span>
</a></li>
<li><a href="#">
<img src="project-images/project-3.png">
<h3>Project Three</h1>
<div>View Project</div>
<h3>Project Three</h3>
<span>View Project</span>
</a></li>
<li><a href="#">
<img src="project-images/project-4.png">
<h3>Project Four</h1>
<div>View Project</div>
<h3>Project Four</h3>
<span>View Project</span>
</a></li>
<li><a href="#">
<img src="project-images/project-5.png">
<h3>Project Five</h1>
<div>View Project</div>
<h3>Project Five</h3>
<span>View Project</span>
</a></li>
<li><a href="#">
<img src="project-images/project-6.png">
<h3>Project Six</h1>
<div>View Project</div>
<h3>Project Six</h3>
<span>View Project</span>
</a></li>
</ul></section>
<section id="contact">
Expand Down
22 changes: 22 additions & 0 deletions public_html/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public_html/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scss/body/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ header p {
grid-area: scroll-down;
margin: 15px 0;

@include text.append_icon("icon-keyboard_arrow_down") {
@include text.append_icon("arrow-down") {
display: block;
font-size: 35px;
font-weight: 600;
Expand Down
13 changes: 13 additions & 0 deletions scss/body/main/_project-previews.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "text";


#project-previews ul {
height: 1000px;
width: 600px;
Expand Down Expand Up @@ -25,3 +28,13 @@
max-width: 100%;
object-fit: contain;
}

h3 {
@include text.h3_text_sizes;
}

#project-previews span {
@include text.small_description_sizes;

@include text.append_icon("arrow-right");
}
6 changes: 3 additions & 3 deletions scss/text/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


$_icon_chars_for_names: (
"arrow-right2": "\ea3c",
"arrow-right": "\ea3c",
"arrow-shuffle": "\e901",
"bar-graph": "\e904",
"briefcase": "\f0b1",
Expand Down Expand Up @@ -46,8 +46,8 @@ $_icon_chars_for_names: (
"handshake-o": "\f2b5",
"hat": "\e905",
"headphones": "\e910",
"icon-keyboard_arrow_down": "\e909",
"icon-keyboard_arrow_up": "\e90a",
"arrow-down": "\e909",
"arrow-up": "\e90a",
"instagram": "\ea92",
"lab": "\e9aa",
"laptop": "\e957",
Expand Down
2 changes: 2 additions & 0 deletions scss/text/_sizes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ $_DEFAULT_FONTS: arial;


@mixin h1_text_sizes { @include _text_sizes(3rem, $font-weight: bold); }
@mixin h3_text_sizes { @include _text_sizes(1.4rem, $font-weight: bold); }
@mixin header_p_text_sizes { @include _text_sizes(1.2rem); }
@mixin normal_text_sizes { @include _text_sizes(1rem); }
@mixin small_description_sizes { @include _text_sizes(0.85rem); }

0 comments on commit 1f9f08b

Please sign in to comment.