-
Notifications
You must be signed in to change notification settings - Fork 19
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
Styled font weight and response box #25
base: main
Are you sure you want to change the base?
Changes from all commits
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ body, input { | |
font-size: 17px; | ||
line-height: 27px; | ||
-webkit-font-smoothing: subpixel-antialiased; | ||
font-family:-apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; | ||
font-family:-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif; | ||
text-rendering: optimizeLegibility; | ||
font-weight:200; | ||
font-weight:300; | ||
Solance marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
|
||
body { | ||
|
@@ -13,6 +13,11 @@ body { | |
padding: 1em; | ||
} | ||
|
||
h1 { | ||
color: #11a452; | ||
letter-spacing: 2px; | ||
} | ||
|
||
#guess-wrapper { | ||
display: flex; | ||
margin: 20px 0; | ||
|
@@ -48,6 +53,22 @@ body { | |
padding-top:18px; | ||
} | ||
|
||
#response { | ||
background-color: #eef1f9; | ||
padding-right: 15px; | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
padding-left: 10px; | ||
} | ||
|
||
#timer { | ||
background-color: #eef1f9; | ||
padding: 8px; | ||
} | ||
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. 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. (any ideas on how to make the design cleaner?) 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. 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. |
||
|
||
#response p { | ||
font-style: italic; | ||
} | ||
Solance marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
th { | ||
padding-left: 3em; | ||
|
@@ -56,6 +77,9 @@ th { | |
|
||
th#chronoOrder, th#alphaOrder, th#similarityOrder, input#give-up-btn, input#guess-btn, input#lower{ | ||
cursor: pointer; | ||
background-color: #11a452; | ||
color: white; | ||
border: none; | ||
} | ||
|
||
.gaveup { | ||
|
@@ -227,7 +251,7 @@ header { | |
.progress-container, | ||
.progress-bar { | ||
display: inline-block; | ||
background-color:#008000; | ||
background-color:#11a452; | ||
} | ||
|
||
.percentile { | ||
|
@@ -243,6 +267,11 @@ header { | |
|
||
a { | ||
text-decoration: none; | ||
color: #1d6fc6; | ||
} | ||
|
||
hr { | ||
border: 2px solid #11a452; | ||
} | ||
|
||
.implicita { | ||
|
@@ -271,7 +300,7 @@ a { | |
|
||
/* Dark mode */ | ||
body.dark { | ||
background: #111; | ||
background: #171717; | ||
color: #fafafa; | ||
color-scheme: dark; | ||
} | ||
|
@@ -298,4 +327,14 @@ body.dark .progress-container { | |
|
||
body.dark .implicita { | ||
color: #FFF; | ||
} | ||
|
||
body.dark #response { | ||
background-color: #282e4f; | ||
padding: 5px; | ||
} | ||
|
||
body.dark #timer { | ||
padding: 8px; | ||
background-color: #282e4f; | ||
} |
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.
I actually like the current font better (at least on mac) - current:
new:
Also, line spacing in the paragraph is a bit too large + font size is too small
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.
I liked the colors and the design of the "guess" button + textbox!