Skip to content

Commit

Permalink
style.css more css for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
chinchang committed Apr 14, 2018
1 parent 8507a4b commit eeba248
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ body {
/* speocifically for mobile when keyboard is open */
position: relative;

font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
}
h1 {
margin-top: 0;
Expand Down Expand Up @@ -102,7 +102,7 @@ hr {
label {
cursor: pointer;
}
[class*="hint--"]:after {
[class*='hint--']:after {
text-transform: none;
font-weight: normal;
letter-spacing: 0.5px;
Expand All @@ -126,8 +126,8 @@ a > svg {
fill: rgba(255, 255, 255, 0.2);
}
select,
input[type="text"],
input[type="number"],
input[type='text'],
input[type='number'],
textarea {
padding: 3px 5px;
font-size: inherit;
Expand Down Expand Up @@ -196,7 +196,7 @@ textarea {
display: block;
}
.star:after {
content: "★";
content: '★';
color: #eee333;
}
/* used to show keyboard specific content when something is keyboard focused */
Expand Down Expand Up @@ -1195,7 +1195,7 @@ body:not(.is-app) .show-when-app {
transform: scale(1.15);
}
.onboard-selection.selected:after {
content: "";
content: '';
position: absolute;
right: -20px;
bottom: 40px;
Expand Down Expand Up @@ -1234,15 +1234,24 @@ body:not(.is-app) .show-when-app {
}

@media screen and (max-width: 500px) {
body {
font-size: 70%;
}
.main-header {
overflow-x: auto;
}
.main-header__btn-wrap {
flex-shrink: 0;
}
.modal__content {
padding: 1em;
}
.saved-items-pane {
width: 77vw;
padding: 10px 20px;
}
}


/* Codemirror themes basic bg styles. This is here so that there is no big FOUC
while the theme CSS file is loading */
.cm-s-paraiso-dark.CodeMirror {
Expand Down

0 comments on commit eeba248

Please sign in to comment.