Skip to content

Commit

Permalink
Adjust line heights
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Jan 7, 2025
1 parent 1c64315 commit 44c038d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
52 changes: 26 additions & 26 deletions app/assets/stylesheets/application.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ p,
form.new_user,
form.edit_user {
font-size: 16px;
line-height: 22px;
line-height: 24px;
}

img {
Expand Down Expand Up @@ -248,7 +248,7 @@ input[type=checkbox] {

ul {
font-size: 16px;
line-height: 20px;
line-height: 24px;
}

li {
Expand Down Expand Up @@ -481,32 +481,32 @@ ul li li {

.font28 {
font-size: 28px;
line-height: 32px;
line-height: 41px;
}

.font22 {
font-size: 22px;
line-height: 24px;
line-height: 32px;
}

.font20 {
font-size: 20px;
line-height: 24px;
line-height: 29px;
}

.font18 {
font-size: 18px;
line-height: 22px;
line-height: 26px;
}

.font16 {
font-size: 16px;
line-height: 18px;
line-height: 24px;
}

.font14 {
font-size: 14px;
line-height: 16px;
line-height: 21px;
}

.center {
Expand Down Expand Up @@ -547,7 +547,7 @@ ul li li {

h1 {
font-size: 28px;
line-height: 32px;
line-height: 41px;
padding: 0;
margin: 15px 0;
text-align: center;
Expand Down Expand Up @@ -608,7 +608,7 @@ form.edit_user .form-actions {

.error_notification {
color: var(--red);
line-height: 16px;
line-height: 21px;
background: var(--purple);
text-align: center;
font-family: $italic;
Expand Down Expand Up @@ -724,7 +724,7 @@ p.notice {
.thanks,
p.alert {
font-size: 28px;
line-height: 36px;
line-height: 41px;
text-align: center;
margin: 25px auto 0;
color: var(--red);
Expand Down Expand Up @@ -1524,7 +1524,7 @@ img.fave_icon {
.address,
.address_full {
font-size: 16px;
line-height: 20px;
line-height: 24px;
font-family: $Nunito_500Medium;
}

Expand All @@ -1548,7 +1548,7 @@ li.address_full {
align-items: center;
justify-content: space-between;
font-size: 24px;
line-height: 28px;
line-height: 34px;
background: var(--machinename_bg);
border-radius: 15px;
}
Expand All @@ -1560,7 +1560,7 @@ li.address_full {
#search_results .machine_names div {
font-size: 18px;
padding: 5px 0 !important;
line-height: 20px;
line-height: 26px;
list-style-type: none;
font-family: $Nunito_700Bold;
color: var(--machinename);
Expand All @@ -1574,7 +1574,7 @@ span.man_year {

.address_name {
font-size: 16px;
line-height: 22px;
line-height: 24px;
}

span.machine_year_man {
Expand Down Expand Up @@ -1812,7 +1812,7 @@ div.machine_condition_text {

span.machine_condition_text {
font-size: 14px;
line-height: 16px;
line-height: 21px;
font-family: $Nunito_400Regular;
display: block;
color: #333333;
Expand All @@ -1838,7 +1838,7 @@ div.machine_condition_meta {

.machine_condition_new_line {
font-size: 14px;
line-height: 18px;
line-height: 21px;
border-bottom: 1px solid var(--purple);
margin-bottom: 10px;
padding: 0 0 5px 10px;
Expand Down Expand Up @@ -2015,7 +2015,7 @@ br.clear {

.sub_nav_location {
font-size: 14px;
line-height: 16px;
line-height: 21px;
font-family: $Nunito_600SemiBold;
cursor: pointer;
height: 100%;
Expand Down Expand Up @@ -2334,7 +2334,7 @@ div.location_type_container {
text-align: center;
padding: 2px;
font-size: 11px;
line-height: 14px;
line-height: 16px;
width: 100%;
display: block;
color: var(--ahref);
Expand Down Expand Up @@ -2384,7 +2384,7 @@ span.last_updated_username a {
font-family: $Nunito_500Medium;
font-size: 14px;
color: #e4606a;
line-height: 20px;
line-height: 21px;
}

input.score {
Expand All @@ -2394,7 +2394,7 @@ input.score {

.location_detail {
font-size: 16px;
line-height: 18px;
line-height: 24px;
height: 100%;
font-family: $Nunito_400Regular;
@include radius(10px);
Expand Down Expand Up @@ -2483,7 +2483,7 @@ input.score {
.desc_show_location {
color: var(--darkgrey);
font-size: 13px;
line-height: 18px;
line-height: 19px;
font-family: $italic;
white-space: pre-wrap;
margin-left: 23px;
Expand Down Expand Up @@ -2926,7 +2926,7 @@ div.region_name_container {

.p1 {
font-size: 32px;
line-height: 32px;
line-height: 44px;
margin-top: 20px;
margin-bottom: 10px;
display: flex;
Expand Down Expand Up @@ -2967,7 +2967,7 @@ div.region_name_container {

.news p {
font-size: 16px;
line-height: 22px;
line-height: 24px;
}

.region_map {
Expand All @@ -2989,7 +2989,7 @@ div.state_name_container {
span.state_name {
color: var(--red);
font-size: 20px;
line-height: 22px;
line-height: 30px;
font-family: $Nunito_700Bold;
}

Expand Down Expand Up @@ -3155,7 +3155,7 @@ li span.state_name {

div.score_list span,
span.stats_list span {
line-height: 20px;
line-height: 24px;
font-size: 16px;
color: var(--darkgrey);
display: block;
Expand Down
18 changes: 9 additions & 9 deletions app/assets/stylesheets/mobile-application.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ div.pick_a_map {
.login_region a {
padding: 0 4px 0 3px;
font-size: 20px;
line-height: 22px;
line-height: 29px;
}

.login_region a {
Expand Down Expand Up @@ -707,7 +707,7 @@ div.location_type {
.address,
.address_name {
font-size: 16px;
line-height: 20px;
line-height: 24px;
}

.machine_name {
Expand All @@ -730,7 +730,7 @@ div.location_type {

#search_results div.machine_names {
font-size: 18px;
line-height: 24px;
line-height: 26px;
}

.location_detail input.remove_machine_button {
Expand All @@ -745,7 +745,7 @@ div.machine_condition_text {
}

span.machine_condition_text {
line-height: 20px;
line-height: 21px;
margin-right: 0;
}

Expand All @@ -770,7 +770,7 @@ span.machine_condition_text {

.desc_location {
font-size: 14px;
line-height: 18px;
line-height: 21px;
}

.machine_lmx {
Expand All @@ -779,7 +779,7 @@ span.machine_condition_text {

.machine_condition_display_lmx {
font-size: 14px;
line-height: 16px;
line-height: 21px;
margin: 5px 0 0px 0px;
}

Expand All @@ -805,7 +805,7 @@ span.machine_condition_text {
.sub_nav_item,
.sub_nav_location {
font-size: 16px;
line-height: 18px;
line-height: 24px;
}

#results_container,
Expand Down Expand Up @@ -884,7 +884,7 @@ span.machine_condition_text {

.metadata_edit_location {
font-size: 15px;
line-height: 20px;
line-height: 22px;
margin-top: 0px;
}

Expand Down Expand Up @@ -1244,7 +1244,7 @@ p.notice {

.p1 {
font-size: 24px;
line-height: 24px;
line-height: 34px;
}

p.welcome {
Expand Down

0 comments on commit 44c038d

Please sign in to comment.