-
Notifications
You must be signed in to change notification settings - Fork 12
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
Remove header.css and replace with tailwind styles #784
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@layer components { | ||
.container { | ||
@apply mx-auto w-full; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
html { | ||
font-size: 62.5%; | ||
|
@@ -13,7 +15,7 @@ h2 { | |
} | ||
|
||
a { | ||
@apply underline text-base; | ||
@apply underline text-smaller; | ||
} | ||
|
||
p { | ||
|
@@ -24,22 +26,36 @@ li { | |
@apply text-base leading-tight; | ||
} | ||
|
||
.btn { | ||
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 will probably split out buttons and other form elements into another file in the next PR |
||
padding: .526315em .789473em .263157em; | ||
@apply no-underline inline-block text-white text-smaller leading-tight; | ||
} | ||
|
||
.btn-blue { | ||
background-color: theme("colors.blue.lighter"); | ||
@apply py-4 px-5 font-bold no-underline border-b-2; | ||
@apply px-5 py-4 border-b-2 border-black font-bold text-black text-base; | ||
} | ||
|
||
.btn-light { | ||
color: theme("colors.green.default"); | ||
border-color: theme("colors.green.default"); | ||
background-color: theme("colors.white.default"); | ||
@apply py-4 px-6 font-bold no-underline border-2; | ||
border-bottom: 4px solid theme("colors.green.dark"); | ||
.btn-green { | ||
background-color: theme("colors.green.default"); | ||
box-shadow: 0 2px 0 theme("colors.green.border"); | ||
} | ||
.btn-green:hover { | ||
background-color: theme("colors.green.hover"); | ||
} | ||
|
||
@tailwind components; | ||
|
||
@tailwind utilities; | ||
/* Homepage Button */ | ||
#contact-form .btn { | ||
color: theme("colors.green.darker"); | ||
border-color: theme("colors.green.darker"); | ||
background-color: theme("colors.white.default"); | ||
@apply px-6 py-4 border-b-4 font-bold border-2; | ||
border-bottom: 4px solid; | ||
box-shadow: none; | ||
} | ||
#contact-form .btn:hover { | ||
@apply bg-gray-selected; | ||
} | ||
|
||
.input { | ||
border-color: #000; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@layer components { | ||
/* links */ | ||
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. Typography instead of links? 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 100% sure what will end up in this file. I named it typography so that it could hold things like headers, paragraphs, links. But I haven't touched any headers or paragraphs yet. |
||
|
||
} |
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.
Any reason for this change?
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.
Yes, the old css file had a smaller size for anchors - without this change, all the links on pages outside of signedout.html got larger and no longer matched the rest of the paragraph text.