Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 37 additions & 11 deletions src/Clickable/styles.css
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%;

Copy link
Copy Markdown
Member Author

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 */

}

a.Clickable:hover {
color: #ff8811;
border-bottom-style: dashed;
color: #fff;
}

button.Clickable {
font-size: 0.7rem;
appearance: none;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The 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;
Comment thread
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 {
Expand Down
7 changes: 4 additions & 3 deletions src/Field/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
color: #838383;
display: flex;
font-size: 0.7rem;
font-weight: 300;
font-weight: 400;
height: 1.45rem;
line-height: 1.45rem;
margin-left: 1rem;
Expand All @@ -25,13 +25,14 @@
}

.Field__help {
font-weight: 300;
color: #838383;
font-weight: 400;
color: #000;
Comment thread
omgaz marked this conversation as resolved.
Outdated
padding: 0.4rem 0;
display: flex;
flex-basis: 100%;
flex-shrink: 0;
font-size: 0.85rem;
line-height: 1.25rem;
}

.Field__has-error {
Expand Down
31 changes: 21 additions & 10 deletions src/H/styles.css
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;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The 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; */

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean up comment

}

.H1 {
Expand All @@ -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;
}

Expand All @@ -29,7 +35,7 @@
position: relative;
}

.H__is-title::after {
.H__is-title::before {
content: '';
position: absolute;
height: 3px;
Expand All @@ -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;
}
5 changes: 3 additions & 2 deletions src/HR/styles.css
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);
}
2 changes: 1 addition & 1 deletion src/Image/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
margin: auto;
margin-top: 0.6rem;
text-align: center;
font-family: 'Cascadia Code';
font-family: 'Source Code Pro', monospace;
}

.Image {
Expand Down
2 changes: 1 addition & 1 deletion src/Input/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Input {
font-family: 'Merriweather';
font-family: Raleway, sans-serif;
font-size: 1rem;
margin-top: 0.4rem;
border: 1px solid black;
Expand Down
2 changes: 2 additions & 0 deletions src/P/styles.css
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;
}
2 changes: 1 addition & 1 deletion src/Tag/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
box-sizing: border-box;
color: #fff;
display: inline-flex;
font-family: 'Cascadia Code';
font-family: 'Source Code Pro', monospace;
font-size: 0.75rem;
font-weight: 300;
margin-right: 6px;
Expand Down
2 changes: 1 addition & 1 deletion src/Textarea/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Textarea {
font-family: 'Merriweather';
font-family: Raleway, sans-serif;
font-size: 1rem;
margin-top: 0.4rem;
border: 1px solid black;
Expand Down
2 changes: 1 addition & 1 deletion src/Uuid/styles.css
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;
}
4 changes: 3 additions & 1 deletion src/styles.css
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');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The 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;
Expand Down