semaphore/scss/global.scss

103 lines
1.7 KiB
SCSS
Raw Normal View History

2018-01-12 16:36:31 +00:00
body {
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue;
font-size: 14px;
line-height: 1.2;
2018-01-12 17:05:03 +00:00
color: var(--body-text-color);
2018-01-12 17:01:46 +00:00
background: var(--body-bg);
2018-01-12 16:36:31 +00:00
}
#svelte {
display: flex;
flex-direction: column;
}
main {
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
position: relative;
max-width: 800px;
padding: 15px 15px;
box-sizing: border-box;
margin: 85px auto;
2018-01-12 17:01:46 +00:00
background: var(--main-bg);
border: 1px solid var(--main-border);
2018-01-12 16:36:31 +00:00
border-radius: 1px;
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 0.5em 0;
font-weight: 400;
line-height: 1.2;
}
h1 {
font-size: 2em;
}
a {
2018-01-12 17:01:46 +00:00
color: var(--anchor-text);
2018-01-12 16:36:31 +00:00
text-decoration: none;
}
a:visited {
2018-01-12 17:01:46 +00:00
color: var(--anchor-text);
2018-01-12 16:36:31 +00:00
}
a:hover {
text-decoration: underline;
}
input {
2018-01-12 17:01:46 +00:00
border: 1px solid var(--input-border);
2018-01-12 16:36:31 +00:00
padding: 5px;
}
button {
font-size: 1.2em;
2018-01-12 17:01:46 +00:00
background: var(--button-bg);
2018-01-12 16:36:31 +00:00
border-radius: 2px;
padding: 10px 15px;
2018-01-12 17:01:46 +00:00
border: 1px solid var(--button-border);
2018-01-12 16:36:31 +00:00
cursor: pointer;
2018-01-12 17:01:46 +00:00
color: var(--button-text);
2018-01-12 16:36:31 +00:00
}
button:hover {
2018-01-12 17:01:46 +00:00
background: var(--button-bg-hover);
2018-01-12 16:36:31 +00:00
}
button:active {
2018-01-12 17:01:46 +00:00
background: var(--button-bg-active);
2018-01-12 16:36:31 +00:00
}
button.primary {
2018-01-12 17:01:46 +00:00
border: 1px solid var(--button-primary-border);
background: var(--button-primary-bg);
color: var(--button-primary-text);
2018-01-12 16:36:31 +00:00
}
button.primary:hover {
2018-01-12 17:01:46 +00:00
background: var(--button-primary-bg-hover);
2018-01-12 16:36:31 +00:00
}
button.primary:active {
2018-01-12 17:01:46 +00:00
background: var(--button-primary-bg-active);
2018-01-12 16:36:31 +00:00
}
p, label, input {
font-size: 1.3em;
}
ul, li, p {
padding: 0;
margin: 0;
}
@media (max-width: 767px) {
main {
padding: 5px 5px;
margin: 75px auto;
}
}