pinafore/assets/global.css

105 lines
1.4 KiB
CSS
Raw Normal View History

2018-01-07 00:51:25 +01:00
body {
margin: 0;
2018-01-07 06:05:49 +01:00
font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue;
2018-01-07 00:51:25 +01:00
font-size: 14px;
2018-01-11 09:26:35 +01:00
line-height: 1.2;
2018-01-07 00:51:25 +01:00
color: #333;
2018-01-11 09:26:35 +01:00
background: #ebeffb;
2018-01-07 00:51:25 +01:00
}
2018-01-11 07:17:15 +01:00
#svelte {
display: flex;
flex-direction: column;
}
2018-01-07 00:51:25 +01:00
main {
2018-01-11 07:17:15 +01:00
overflow-x: hidden;
2018-01-11 09:26:35 +01:00
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
2018-01-07 00:51:25 +01:00
position: relative;
2018-01-07 07:04:43 +01:00
max-width: 800px;
2018-01-11 06:08:29 +01:00
padding: 15px 15px;
2018-01-07 00:51:25 +01:00
box-sizing: border-box;
2018-01-11 09:26:35 +01:00
margin: 85px auto;
background: white;
border: 1px solid #ededed;
border-radius: 1px;
2018-01-07 00:51:25 +01:00
}
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-08 00:11:17 +01:00
color: royalblue;
2018-01-09 02:44:29 +01:00
text-decoration: none;
2018-01-08 00:11:17 +01:00
}
a:visited {
color: royalblue;
}
2018-01-11 05:45:02 +01:00
a:hover {
text-decoration: underline;
}
2018-01-08 01:00:42 +01:00
input {
border: 1px solid #dadada;
padding: 5px;
}
button {
font-size: 1.2em;
background: #ededed;
border-radius: 2px;
padding: 10px 15px;
2018-01-11 05:59:04 +01:00
border: 1px solid #ededed;
2018-01-08 01:00:42 +01:00
}
2018-01-11 05:45:02 +01:00
button {
cursor: pointer;
}
2018-01-08 01:00:42 +01:00
button:hover {
background: #ddd;
}
button:active {
background: #fafafa;
}
button.primary {
border: 1px solid #1e3066;
background: #668cff;
color: white;
}
button.primary:hover {
background: #446add;
}
button.primary:active {
background: #99b3ff;
}
2018-01-08 07:38:41 +01:00
p, label, input {
font-size: 1.3em;
2018-01-11 05:45:02 +01:00
}
2018-01-11 09:26:35 +01:00
ul, li, p {
2018-01-11 05:45:02 +01:00
padding: 0;
margin: 0;
}
2018-01-11 05:59:04 +01:00
@media (max-width: 767px) {
main {
2018-01-11 06:08:29 +01:00
padding: 5px 5px;
2018-01-11 09:26:35 +01:00
margin: 75px auto;
2018-01-11 05:59:04 +01:00
}
2018-01-07 00:51:25 +01:00
}