mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Remove numeric font-weights
We have seen lots of issues across browsers with font-weights defined as numbers (e.g. 400 vs regular). Updated one place that was effected by new line lengths and wrapping issues.
This commit is contained in:
parent
ebd41b169e
commit
5a067132b6
2 changed files with 17 additions and 12 deletions
|
@ -22,34 +22,34 @@ h4 {
|
|||
padding: 0;
|
||||
|
||||
color: $header-gray;
|
||||
font-weight: 700;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 900;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 500;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h5 {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
font-size: .85rem;
|
||||
font-weight: 700;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -85,14 +85,14 @@ p {
|
|||
|
||||
b,
|
||||
strong {
|
||||
font-weight: 500;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a {
|
||||
cursor: pointer;
|
||||
color: $ui-blue;
|
||||
font-weight: 500;
|
||||
font-weight: bold;
|
||||
|
||||
&:link,
|
||||
&:visited,
|
||||
|
@ -136,7 +136,7 @@ p {
|
|||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
::selection {
|
||||
|
@ -149,7 +149,7 @@ ul {
|
|||
|
||||
line-height: 1.5em;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
font-weight: normal;
|
||||
|
||||
li {
|
||||
margin: .75em 0;
|
||||
|
@ -159,10 +159,10 @@ ul {
|
|||
dl {
|
||||
line-height: 1.5rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
font-weight: normal;
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
|
|
|
@ -70,6 +70,11 @@
|
|||
.installation-column {
|
||||
max-width: $cols4;
|
||||
text-align: center;
|
||||
|
||||
p {
|
||||
margin-left: .5rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.installation-column-number {
|
||||
|
|
Loading…
Reference in a new issue