Skip to content

Commit

Permalink
Merge pull request #14 from AaronNBrock/bootstrap-refactor-typography
Browse files Browse the repository at this point in the history
Bootstrap refactor typography
  • Loading branch information
Aaron N. Brock authored Oct 6, 2020
2 parents 324b1f3 + f6c0b82 commit cf79448
Show file tree
Hide file tree
Showing 51 changed files with 1,311 additions and 2,300 deletions.
4 changes: 1 addition & 3 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ $(document).ready(function () {
});

// skill count

$(".skill__progress").waypoint(
function () {
$(".progress-value span").each(function () {
Expand Down Expand Up @@ -174,8 +173,7 @@ $(document).ready(function () {
// columnWidth: 200,
});

// blob animation

// blob animation
var tl = new TimelineMax({
yoyo: true,
repeat: -1,
Expand Down
36 changes: 1 addition & 35 deletions assets/scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,12 @@
// }
// }

// .hire_button{
// background: $primary_color;
// padding: 15px 30px;
// color: #fff;
// text-decoration: none;
// border-radius: 7px;
// font-size: 16px;
// font-family: $secondary-font;
// font-weight: 400;
// border: 1px solid transparent;
// transition: all .3s ease;
// transform: scale(1);
// &:hover{
// background: #425FEE;
// box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
// transform: scale(1.03);
// }
// @include desktop{
// text-align: center;
// }
// }

// Button Override
.btn {
display: inline-block;
padding: 15px 30px;
font-family: $secondary-font;
font-size: 16px;
// background: $primary-color;
border-radius: 7px;
//color: #fff;
// ext-decoration: none;
// border: 1px solid transparent;
// transition: all 0.3s ease;
// transform: scale(1);
// &:hover {
// background: #425fee;
// box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
// transform: scale(1.03);
// }
}

.btn-lg {
Expand All @@ -68,4 +34,4 @@
box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
transform: scale(1.03);
}
}
}
14 changes: 6 additions & 8 deletions assets/scss/_common.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
// html{
// scroll-behavior: smooth;
// }

// body {
// background: $body-color;
// }

.section{
padding: 100px 0;
}

.unstyle-list {
list-style-type: none;
padding-left: 0;
margin-right: 0;
}

97 changes: 59 additions & 38 deletions assets/scss/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,43 +1,64 @@
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900|Yeseva+One&display=swap');
.base-font {
font-family: $font-family-base;
}

// body{
// font-family: $primary-font;
// font-size: 16px;
// color: $text-color;
// }
* {
transition: all 0.3s ease;
}

// h1, h2, h3, h4, h5, h6{
// font-family: $primary-font;
// font-weight: 600;
// color: $text-color-dark;
// }
a.text-light,
a.text-dark {
// transition: all 0.3s ease;
&:hover {
color: $primary !important;
}
}

// p{
// font-size: 16px;
// color: $text-color;
// }
.top-title {
font-size: 20px;
display: block;
color: $dark;
@extend .mb-3;
}

// h1{
// font-size: 60px;
// }
.pre-line {
margin-left: 20px;
position: relative;
&::before {
position: absolute;
content: "";
height: 2px;
width: 20px;
top: 50%;
left: -20px;
transform: translateX(-50%);
background: $secondary;
}
}

// h2{
// font-size: 50px;
// }

// h3{
// font-size: 30px;
// }

// h4{
// font-size: 25px;
// }

// h5{
// font-size: 18px;
// }

// h6{
// font-size: 15px;
// font-weight: 300;
// }
// This fixes the fact that with `markdownify` we can't add `text-light`
// directly onto the generated `h1`, `h2` etc.
.text-white {
h1,
h2,
h3,
h4,
h5,
h6 {
color: $white;
}
}
@each $color, $value in $theme-colors {
.text-#{$color} {
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
color: $value;
}
}
}
48 changes: 32 additions & 16 deletions assets/scss/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
//site color variables
$primary-color: #5D78FF;
$secondary-color: #282F49;
$text-color: #9D9EA5;
$text-color-dark: #00113E;
$site-ease: cubic-bezier(0.36, 0.03, 0, 0.91);
$gray: #F7F9FF;
$dark-gray: #646569;
//
// Colors
//

// solid colors
$white: #fff;
$black: #000;
// General
$primary: #5d78ff;
$secondary: #282f49;
// Text
$headings-color: #282f49;
$body-color: #7e7e8a;

// Font Variables
$primary-font: 'Yeseva One', cursive;
$secondary-font: 'Poppins', sans-serif;
//
// Typography
//

// Bootstrap Variables
$primary: #5D78FF;
// Fonts
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900|Yeseva+One&display=swap");
$font-family-base: "Poppins", sans-serif;
$headings-font-family: "Yeseva One", cursive;

// Size
$font-size-base: 1.125rem; // 18px
$h1-font-size: 60px;
$h2-font-size: 50px;
$h3-font-size: 30px;
$h4-font-size: 25px;
$h5-font-size: 22px;
$h6-font-size: 16px;

// Spacing
$headings-margin-bottom: 1.5rem;
$line-height-base: 1.75;

// Misc
$link-hover-decoration: none;
74 changes: 0 additions & 74 deletions assets/scss/components/_about-section.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
.about {
overflow: hidden;
&_header {
margin-bottom: 60px;
span {
display: block;
font-size: 20px;
font-family: $secondary-font;
margin: 0 0 30px 0;
}
h1 {
margin: 0 0 20px 0;
font-size: 55px;
font-family: $primary-font;
color: $secondary-color;
line-height: 1;
}
p {
margin: 0;
font-size: 18px;
font-family: $secondary-font;
color: #7e7e8a;
line-height: 30px;
}
}
&_content {
display: flex;
align-items: center;
Expand Down Expand Up @@ -92,57 +69,6 @@
display: none;
}
}
h3 {
margin: 0 0 35px 0;
color: $white;
font-family: $primary-font;
}
p {
margin: 0 0 35px 0;
font-size: 15px;
font-family: $secondary-font;
color: $white;
font-weight: 400;
line-height: 30px;
@include desktop {
font-size: 14px;
line-height: 26px;
}
}
ul {
margin: 0;
padding: 0;
li {
list-style: none;
display: inline-block;
// a {
// display: block;
// padding: 15px 30px;
// text-decoration: none;
// color: $white;
// border-radius: 7px;
// transition: all 0.3s ease;
// border: 1px solid #60636f;
// background: transparent;
// &.active {
// background-color: $primary-color;
// border: 1px solid transparent;
// }
// &:hover {
// border: 1px solid #425fee;
// background: #425fee;
// box-shadow: 0 8px 20px rgba(56, 87, 241, 0.3);
// transform: scale(1.03);
// }
// }
&:not(:last-child) {
margin-right: 10px;
@include mobile-s {
margin-bottom: 10px;
}
}
}
}
}
}
}
Loading

0 comments on commit cf79448

Please sign in to comment.