-
Notifications
You must be signed in to change notification settings - Fork 0
Style updates #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,57 @@ | ||
| .Clickable { | ||
| line-height: 1.4; | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| a.Clickable { | ||
| display: inline-block; /* prevents word break needed for background hover effect */ | ||
| color: inherit; | ||
| font-weight: bold; | ||
| text-decoration: none; | ||
| border-bottom: 1px solid; | ||
| transition: cubic-bezier(0.45, 1.02, 0.75, 0.92) 0.2s; | ||
| letter-spacing: 0.02rem; | ||
| padding: 0 1px; | ||
| border-bottom: 2px solid #ffc600; | ||
| letter-spacing: 0.05rem; | ||
| padding: 0 3px; | ||
| position: relative; | ||
| transition: color cubic-bezier(0.45, 1.02, 0.75, 0.92) 0.2s; | ||
| } | ||
|
|
||
| a::before { | ||
| transition: height cubic-bezier(0.45, 1.02, 0.75, 0.92) 0.2s; | ||
| content: ''; | ||
| height: 0; | ||
| position: absolute; | ||
| left: 0; | ||
| right: 0; | ||
| bottom: 0; | ||
| background-color: #ffc600; | ||
| z-index: -1; | ||
| } | ||
|
|
||
| a:hover::before { | ||
| height: 100%; | ||
| } | ||
|
|
||
| a.Clickable:hover { | ||
| color: #ff8811; | ||
| border-bottom-style: dashed; | ||
| color: #fff; | ||
| } | ||
|
|
||
| button.Clickable { | ||
| font-size: 0.7rem; | ||
| appearance: none; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure if this is necessary - it's just telling the browser not to use system default styling - which is the default anyway. |
||
| background: #f7f7f7; | ||
| border: 1px solid black; | ||
| border-bottom-color: rgba(0, 0, 0, 0.7); | ||
| border-radius: 3px; | ||
| border: 1px solid black; | ||
|
omgaz marked this conversation as resolved.
Outdated
|
||
| box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.075); | ||
| color: #838383; | ||
| cursor: pointer; | ||
| line-height: 1.2rem; | ||
| letter-spacing: 0.1rem; | ||
| margin: 5px 0 0 5px; | ||
| padding: 6px 15px 7px; | ||
| overflow: visible; | ||
| padding: 9px 15px 10px; | ||
| position: relative; | ||
| letter-spacing: 0.02rem; | ||
| text-align: center; | ||
| text-transform: uppercase; | ||
| user-select: none; | ||
| } | ||
|
|
||
| button.Clickable:hover { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,13 @@ | ||
| .H { | ||
| font-family: 'Montserrat'; | ||
| font-family: Raleway, sans-serif; | ||
| line-height: 2.5rem; | ||
| font-weight: 400; | ||
| text-transform: uppercase; | ||
| letter-spacing: 1px; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rem? |
||
| margin: 1.25rem 0; | ||
| /* font-family: 'Montserrat', sans-serif; | ||
| line-height: 1.5; | ||
| font-weight: 800; | ||
| font-weight: 800; */ | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clean up comment |
||
| } | ||
|
|
||
| .H1 { | ||
|
|
@@ -15,12 +21,12 @@ | |
| } | ||
|
|
||
| .H3 { | ||
| font-size: 1rem; | ||
| font-size: 1.2rem; | ||
| margin: 0 0 20px 0; | ||
| } | ||
|
|
||
| .H4 { | ||
| font-size: 0.8rem; | ||
| font-size: 1rem; | ||
| margin: 0 0 20px 0; | ||
| } | ||
|
|
||
|
|
@@ -29,7 +35,7 @@ | |
| position: relative; | ||
| } | ||
|
|
||
| .H__is-title::after { | ||
| .H__is-title::before { | ||
| content: ''; | ||
| position: absolute; | ||
| height: 3px; | ||
|
|
@@ -40,18 +46,23 @@ | |
| } | ||
|
|
||
| .H__subtitle { | ||
| color: #555; | ||
| line-height: 1; | ||
| font-weight: 400; | ||
| font-size: 0.75rem; | ||
| color: #999; | ||
| font-weight: 700; | ||
| letter-spacing: 3px; | ||
| line-height: 1.45rem; | ||
| margin: 0; | ||
| text-transform: uppercase; | ||
| display: block; | ||
| } | ||
|
|
||
| .H1 > .H__subtitle, | ||
| .H2 > .H__subtitle { | ||
| font-size: 0.6em; | ||
| font-size: 0.9rem; | ||
| } | ||
|
|
||
| .H3 > .H__subtitle, | ||
| .H4 > .H__subtitle { | ||
| font-size: 0.8em; | ||
| font-size: 0.7rem; | ||
| line-height: 1rem; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| .HR { | ||
| width: 90%; | ||
| border: none; | ||
| background-color: #222; | ||
| height: 1px; | ||
| background-color: #ffc600; | ||
| height: 2px; | ||
| transform: rotate(-0.4deg); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| .P { | ||
| font-family: Raleway, sans-serif; | ||
| font-weight: 400; | ||
| line-height: 1.5; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .uuid { | ||
| font-family: 'Cascadia Code', monospace; | ||
| font-family: 'Source Code Pro', monospace; | ||
| letter-spacing: 0.05rem; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| @import url('https://fonts.googleapis.com/css?family=Raleway:200,400,600|Source+Code+Pro&display=swap'); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Check this, are we using 600 or 700? I think we need 700. |
||
|
|
||
| html, | ||
| body { | ||
| font-family: 'Open Sans', sans-serif; | ||
| font-family: Raleway, sans-serif; | ||
| font-size: 18px; | ||
| transition: font-size 0.5s; | ||
| text-rendering: optimizeLegibility; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* bottom border grows to fill entire background */