Skip to content

Commit

Permalink
fix(styles): [GG-1634] Remove unnecessary font weights
Browse files Browse the repository at this point in the history
  • Loading branch information
Daria Radu authored and sebvilhelm committed Mar 19, 2021
1 parent ae12bb6 commit 9abc295
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 54 deletions.
25 changes: 0 additions & 25 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ body {
color: $text_color;
font-family: $text_font;
font-size: 15px;
font-weight: 400;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
Expand All @@ -204,7 +203,6 @@ body {

h1, h2, h3, h4, h5, h6 {
font-family: $heading_font;
font-weight: 400;
margin-top: 0;
}

Expand Down Expand Up @@ -241,7 +239,6 @@ textarea {
}

input {
font-weight: 300;
max-width: 100%;
box-sizing: border-box;
transition: border .12s ease-in-out;
Expand Down Expand Up @@ -392,7 +389,6 @@ ul {
border-radius: 4px;
color: $brand_text_color;
font-size: 14px;
font-weight: 400;
line-height: 2.72;
min-width: 190px;
padding: 0 1.9286em;
Expand Down Expand Up @@ -489,7 +485,6 @@ ul {
.table th a {
color: lighten($text_color, 20%);
font-size: 13px;
font-weight: 300;
text-align: left;
}

Expand Down Expand Up @@ -932,7 +927,6 @@ ul {
.footer-language-selector button {
color: lighten($text_color, 20%);
display: inline-block;
font-weight: 300;
}

/***** Breadcrumbs *****/
Expand All @@ -950,7 +944,6 @@ ul {
.breadcrumbs li {
color: lighten($text_color, 20%);
display: inline;
font-weight: 300;
font-size: 13px;
max-width: 450px;
overflow: hidden;
Expand Down Expand Up @@ -1071,7 +1064,6 @@ ul {

.page-header-description {
font-style: italic;
font-weight: 300;
margin: 0 0 30px 0;
word-break: break-word;
}
Expand Down Expand Up @@ -1201,7 +1193,6 @@ ul {
}

.blocks-item-description {
font-weight: 300;
margin: 0;
}

Expand Down Expand Up @@ -1336,7 +1327,6 @@ ul {

.recent-activity-item-link {
font-size: 14px;
font-weight: 300;
}

.recent-activity-item-meta {
Expand All @@ -1358,7 +1348,6 @@ ul {
color: lighten($text_color, 20%);
display: inline-block;
font-size: 13px;
font-weight: 300;
}

.recent-activity-item-comment {
Expand Down Expand Up @@ -1687,7 +1676,6 @@ ul {

.article-comment-count {
color: lighten($text_color, 20%);
font-weight: 300;
}

.article-comment-count:hover {
Expand Down Expand Up @@ -1798,7 +1786,6 @@ ul {
border-radius: 4px;
color: $text_color;
display: block;
font-weight: 300;
margin-bottom: 10px;
padding: 10px;
}
Expand Down Expand Up @@ -1905,7 +1892,6 @@ ul {
.comment-callout {
color: lighten($text_color, 20%);
display: inline-block;
font-weight: 300;
font-size: 13px;
margin-bottom: 0;
}
Expand All @@ -1921,7 +1907,6 @@ ul {

.comment-sorter .dropdown-toggle {
color: lighten($text_color, 20%);
font-weight: 300;
font-size: 13px;
}

Expand Down Expand Up @@ -2417,7 +2402,6 @@ ul {

.striped-list-count {
color: lighten($text_color, 20%);
font-weight: 300;
font-size: 13px;
justify-content: flex-start;
text-transform: capitalize;
Expand Down Expand Up @@ -2448,15 +2432,13 @@ ul {
}

.striped-list-number {
font-weight: 300;
text-align: center;
}

@media (min-width: 768px) {
.striped-list-number {
color: $text_color;
display: block;
font-weight: 400;
}
}

Expand Down Expand Up @@ -2711,7 +2693,6 @@ ul {

.post-comment-count {
color: lighten($text_color, 20%);
font-weight: 300;
}

.post-comment-count:hover {
Expand Down Expand Up @@ -3284,7 +3265,6 @@ ul {
.contributions-table td:last-child {
color: lighten($text_color, 20%);
font-size: 13px;
font-weight: 300;
}

@media (min-width: 768px) {
Expand Down Expand Up @@ -3477,7 +3457,6 @@ ul {

.request-details dt {
color: lighten($text_color, 20%);
font-weight: 300;
width: 40%;
}

Expand Down Expand Up @@ -3581,7 +3560,6 @@ ul {
.meta-data {
color: lighten($text_color, 20%);
font-size: 13px;
font-weight: 300;
}

.meta-data:not(:last-child)::after {
Expand Down Expand Up @@ -3712,7 +3690,6 @@ ul {

.profile-stats .stat-label {
color: lighten($text_color, 20%);
font-weight: 300;
flex: 0 0 100px;
margin-right: 10px;
}
Expand Down Expand Up @@ -3873,7 +3850,6 @@ ul {
flex-basis: 100%;
padding: 10px 0;
color: lighten($text_color, 20%);
font-weight: 300;
font-size: 13px;
white-space: nowrap;
overflow: hidden;
Expand Down Expand Up @@ -4410,7 +4386,6 @@ ul {
color: lighten($text_color, 20%);
display: inline-block;
font-size: 13px;
font-weight: 300;
padding: 4px 5px;
position: relative;
}
Expand Down
2 changes: 0 additions & 2 deletions styles/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@

&-comment-count {
color: $secondary-text-color;
font-weight: $font-weight-light;

&:hover {
text-decoration: none;
Expand Down Expand Up @@ -201,7 +200,6 @@
border-radius: 4px;
color: $text_color;
display: block;
font-weight: $font-weight-light;
margin-bottom: 10px;
padding: 10px;

Expand Down
3 changes: 0 additions & 3 deletions styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ body {
color: $text_color;
font-family: $text_font;
font-size: $font-size-base;
font-weight: $font-weight-base;
line-height: 1.5;
-webkit-font-smoothing: antialiased;

Expand All @@ -21,7 +20,6 @@ body {

h1, h2, h3, h4, h5, h6 {
font-family: $heading_font;
font-weight: $font-weight-base;
margin-top: 0;
}

Expand Down Expand Up @@ -52,7 +50,6 @@ textarea {
}

input {
font-weight: $font-weight-light;
max-width: 100%;
box-sizing: border-box;
transition: border .12s ease-in-out;
Expand Down
1 change: 0 additions & 1 deletion styles/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
}

&-item-description {
font-weight: $font-weight-light;
margin: 0;
}

Expand Down
1 change: 0 additions & 1 deletion styles/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
li {
color: $secondary-text-color;
display: inline;
font-weight: $font-weight-light;
font-size: $font-size-small;
max-width: 450px;
overflow: hidden;
Expand Down
1 change: 0 additions & 1 deletion styles/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
border-radius: 4px;
color: $brand_text_color;
font-size: 14px;
font-weight: $font-weight-base;
line-height: 2.72;
min-width: 190px;
padding: 0 1.9286em;
Expand Down
2 changes: 0 additions & 2 deletions styles/_comments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
&-callout {
color: $secondary-text-color;
display: inline-block;
font-weight: $font-weight-light;
font-size: $font-size-small;
margin-bottom: 0;

Expand All @@ -36,7 +35,6 @@

.dropdown-toggle {
color: $secondary-text-color;
font-weight: $font-weight-light;
font-size: $font-size-small;
}

Expand Down
1 change: 0 additions & 1 deletion styles/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
&-language-selector button {
color: $secondary-text-color;
display: inline-block;
font-weight: $font-weight-light;
}
}
1 change: 0 additions & 1 deletion styles/_metadata.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
.meta-data {
color: $secondary-text-color;
font-size: $font-size-small;
font-weight: $font-weight-light;

&:not(:last-child)::after {
content: "\00B7";
Expand Down
1 change: 0 additions & 1 deletion styles/_my-activities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@

color: $secondary-text-color;
font-size: $font-size-small;
font-weight: $font-weight-light;
}
}

Expand Down
1 change: 0 additions & 1 deletion styles/_page_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
flex-basis: 100%;
}
font-style: italic;
font-weight: $font-weight-light;
margin: 0 0 30px 0;
word-break: break-word;
}
Expand Down
1 change: 0 additions & 1 deletion styles/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@

&-comment-count {
color: $secondary-text-color;
font-weight: $font-weight-light;

&:hover {
text-decoration: none;
Expand Down
2 changes: 0 additions & 2 deletions styles/_recent-activity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

&-item-link {
font-size: 14px;
font-weight: $font-weight-light;
}

&-item-meta {
Expand All @@ -54,7 +53,6 @@
color: $secondary-text-color;
display: inline-block;
font-size: $font-size-small;
font-weight: $font-weight-light;
}

&-item-comment {
Expand Down
1 change: 0 additions & 1 deletion styles/_request.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@

dt {
color: $secondary-text-color;
font-weight: $font-weight-light;
width: 40%;
}

Expand Down
1 change: 0 additions & 1 deletion styles/_search_results.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
color: $secondary-text-color;
display: inline-block;
font-size: $font-size-small;
font-weight: $font-weight-light;
padding: 4px 5px;
position: relative;

Expand Down
5 changes: 0 additions & 5 deletions styles/_striped_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@
}

color: $secondary-text-color;
font-weight: $font-weight-light;
font-size: $font-size-small;
justify-content: flex-start;
text-transform: capitalize;
}

&-count-item {
&::after {
@include tablet { display: none; }
Expand All @@ -69,10 +67,7 @@
@include tablet {
color: $text_color;
display: block;
font-weight: $font-weight-base;
}

font-weight: $font-weight-light;
text-align: center;
}
}
1 change: 0 additions & 1 deletion styles/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
th a {
color: $secondary-text-color;
font-size: $font-size-small;
font-weight: $font-weight-light;
text-align: left;

[dir="rtl"] & { text-align: right; }
Expand Down
2 changes: 0 additions & 2 deletions styles/_user-profiles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@

.profile-stats .stat-label {
color: $secondary-text-color;
font-weight: $font-weight-light;
flex: 0 0 100px;
margin-right: 10px;

Expand Down Expand Up @@ -269,7 +268,6 @@
flex-basis: 100%;
padding: 10px 0;
color: $secondary-text-color;
font-weight: $font-weight-light;
font-size: $font-size-small;
white-space: nowrap;
overflow: hidden;
Expand Down
Loading

0 comments on commit 9abc295

Please sign in to comment.