2017-02-03 22:44:13 +04:00
|
|
|
$border: 1px solid #333;
|
|
|
|
|
2017-02-11 15:20:48 +04:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
&, body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-27 01:20:36 +03:00
|
|
|
body {
|
2016-06-05 22:55:44 +03:00
|
|
|
background: #eee;
|
2017-02-03 22:44:13 +04:00
|
|
|
line-height: 1.6;
|
2017-02-11 15:20:48 +04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
min-height: 100%;
|
2017-02-03 22:44:13 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p + p {
|
|
|
|
margin-top: 1ex;
|
2015-11-27 01:20:36 +03:00
|
|
|
}
|
2016-04-22 23:42:10 +03:00
|
|
|
|
2015-11-30 23:00:07 +03:00
|
|
|
header {
|
2016-06-05 22:55:44 +03:00
|
|
|
background-color: #eee;
|
|
|
|
box-shadow: 0 0 1ex #444;
|
2017-02-11 15:20:48 +04:00
|
|
|
position: sticky;
|
2016-06-05 22:55:44 +03:00
|
|
|
top: 0;
|
2017-07-12 00:54:52 +04:00
|
|
|
z-index: 9999;
|
2017-02-11 15:20:48 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
background: #999;
|
|
|
|
color: white;
|
|
|
|
:link, :visited {
|
|
|
|
color: #edf;
|
|
|
|
}
|
|
|
|
p { margin: 0; }
|
|
|
|
}
|
|
|
|
|
|
|
|
header, footer {
|
|
|
|
display: flex;
|
2016-05-01 16:50:49 +03:00
|
|
|
|
2016-05-04 19:45:50 +03:00
|
|
|
& > span {
|
2016-05-01 16:50:49 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-02-11 15:20:48 +04:00
|
|
|
& > :last-child {
|
2016-05-01 16:50:49 +03:00
|
|
|
flex-grow: 5;
|
|
|
|
padding-left: 1em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2017-11-25 04:22:01 +04:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
&:focus, &:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2015-11-30 23:00:07 +03:00
|
|
|
}
|
2015-11-27 01:20:36 +03:00
|
|
|
|
2017-02-11 15:20:48 +04:00
|
|
|
main {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header, footer, main {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0 1ex;
|
|
|
|
}
|
|
|
|
|
2017-02-03 22:44:13 +04:00
|
|
|
.item {
|
|
|
|
background: #ccc;
|
|
|
|
border: $border;
|
|
|
|
img {
|
|
|
|
box-shadow: 0 .2em 1em -.2em #000;
|
|
|
|
vertical-align: middle;
|
2017-12-12 21:22:32 +04:00
|
|
|
max-width: 100%;
|
2017-02-03 22:44:13 +04:00
|
|
|
}
|
2017-12-17 18:52:25 +04:00
|
|
|
.lable {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
2017-02-03 22:44:13 +04:00
|
|
|
}
|
|
|
|
|
2016-04-22 23:42:10 +03:00
|
|
|
div.group {
|
|
|
|
display: flex;
|
2016-11-20 17:52:38 +03:00
|
|
|
flex-flow: row-reverse wrap;
|
2017-12-12 21:22:32 +04:00
|
|
|
justify-content: space-between;
|
2016-04-22 23:42:10 +03:00
|
|
|
|
|
|
|
.item {
|
2016-04-23 17:43:55 +03:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2015-11-27 01:20:36 +03:00
|
|
|
flex-grow: 1;
|
2016-04-23 17:43:55 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
margin: .2em;
|
2017-09-27 18:58:49 +04:00
|
|
|
padding: .2em;
|
2015-11-27 01:20:36 +03:00
|
|
|
text-align: center;
|
2017-12-12 21:22:32 +04:00
|
|
|
// The unquote is a hack to avoid collapsing space around the minus.
|
|
|
|
// May not be needed with a future nicer version of rsass?
|
|
|
|
max-width: calc(50vw unquote('-') 1.6em);
|
2016-04-23 17:43:55 +03:00
|
|
|
|
|
|
|
h2, p {
|
|
|
|
margin: .2em;
|
|
|
|
}
|
2016-04-22 23:42:10 +03:00
|
|
|
}
|
2017-02-12 19:03:36 +04:00
|
|
|
p.item {
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
2015-11-27 01:20:36 +03:00
|
|
|
}
|
2017-02-03 22:44:13 +04:00
|
|
|
div.details {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
|
|
|
.item, .meta {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
align-self: flex-start;
|
2017-02-04 21:19:32 +04:00
|
|
|
flex-grow: 4;
|
2017-02-03 22:44:13 +04:00
|
|
|
flex-basis: 30em;
|
|
|
|
text-align: center;
|
2017-02-11 18:23:03 +04:00
|
|
|
&.zoom {
|
|
|
|
flex-basis: auto;
|
|
|
|
}
|
2017-02-03 22:44:13 +04:00
|
|
|
}
|
|
|
|
.meta {
|
|
|
|
flex-grow: 1;
|
2017-02-04 21:19:32 +04:00
|
|
|
flex-basis: 20em;
|
2017-02-03 22:44:13 +04:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-11-27 02:02:18 +03:00
|
|
|
|
2015-11-30 00:38:40 +03:00
|
|
|
ul.alltags, ul.allpeople, ul.allplaces {
|
2015-11-27 02:02:18 +03:00
|
|
|
-moz-column-width: 13em;
|
|
|
|
column-width: 13em;
|
|
|
|
}
|
2016-07-09 22:25:34 +03:00
|
|
|
|
|
|
|
#map {
|
2017-02-03 22:44:13 +04:00
|
|
|
border: $border;
|
2016-07-09 22:25:34 +03:00
|
|
|
height: 8em;
|
2017-02-03 22:44:13 +04:00
|
|
|
margin: 1ex auto;
|
2016-07-09 22:25:34 +03:00
|
|
|
}
|
2017-02-11 15:20:48 +04:00
|
|
|
|
|
|
|
form {
|
|
|
|
border: $border;
|
|
|
|
margin: auto;
|
|
|
|
padding: 1em;
|
|
|
|
width: -moz-fit-content;
|
2017-02-12 16:03:55 +04:00
|
|
|
width: fit-content;
|
2017-02-11 15:20:48 +04:00
|
|
|
|
|
|
|
p {
|
|
|
|
display: flex;
|
2017-02-12 16:03:55 +04:00
|
|
|
flex-flow: row wrap;
|
2017-02-11 15:20:48 +04:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
padding: .2em 1em .2em 0;
|
|
|
|
}
|
|
|
|
}
|
2017-11-06 02:03:55 +04:00
|
|
|
|
2017-11-17 03:26:17 +04:00
|
|
|
#help {
|
|
|
|
background: #fafafa;
|
2017-12-25 19:43:06 +04:00
|
|
|
border: solid 1px black;
|
|
|
|
bottom: 2em;
|
2017-11-17 03:26:17 +04:00
|
|
|
box-shadow: .3em .2em 1em;
|
|
|
|
display: none;
|
2017-12-25 19:43:06 +04:00
|
|
|
left: 2em;
|
|
|
|
padding: 1ex 1em;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1111;
|
2017-11-17 03:26:17 +04:00
|
|
|
|
|
|
|
&:target {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
h2 { margin: 0; }
|
|
|
|
}
|
|
|
|
|
2017-11-12 01:02:01 +04:00
|
|
|
// Relevant for admin forms only. Move to separate file?
|
|
|
|
form.admin {
|
|
|
|
position: relative;
|
|
|
|
padding: 1.8em 1ex;
|
|
|
|
display: flex;
|
|
|
|
width: -moz-available;
|
2017-11-25 03:04:17 +04:00
|
|
|
width: -webkit-fill-available;
|
2017-11-12 01:02:01 +04:00
|
|
|
width: available;
|
|
|
|
|
2017-11-25 03:04:17 +04:00
|
|
|
input[type="text"], input[type="range"] {
|
2017-11-12 01:02:01 +04:00
|
|
|
flex-grow: 1;
|
|
|
|
margin-right: 1ex;
|
|
|
|
}
|
|
|
|
button.close {
|
|
|
|
font-size: 50%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: -1ex;
|
|
|
|
top: -1ex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-06 02:03:55 +04:00
|
|
|
div.completions {
|
|
|
|
border-bottom: solid 1px #888;
|
|
|
|
box-shadow: .2em .1em .5em rgba(0, 0, 0, .7);
|
|
|
|
display: block;
|
|
|
|
margin-left: .5em;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 17;
|
|
|
|
|
|
|
|
a {
|
|
|
|
background: rgba(255,255,255,0.95);
|
|
|
|
border-color: #888;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 1px 0;
|
|
|
|
display: block;
|
|
|
|
padding: .2em .5em; // .2em 2.2em;
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
a:focus {
|
|
|
|
background-color: #aaaaff;
|
|
|
|
}
|
|
|
|
}
|