2018-03-12 16:37:01 -07:00
|
|
|
.h-box {
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
2018-03-11 10:05:56 -07:00
|
|
|
}
|
2018-03-12 16:37:01 -07:00
|
|
|
|
|
|
|
.v-box {
|
|
|
|
padding-top: 1em;
|
|
|
|
padding-bottom: 1em;
|
2018-04-13 19:32:14 -07:00
|
|
|
}
|
2018-04-17 13:53:12 -07:00
|
|
|
|
|
|
|
div {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2018-07-20 12:36:23 -07:00
|
|
|
|
|
|
|
.loading {
|
|
|
|
animation: spin 2s linear infinite;
|
|
|
|
}
|
|
|
|
|
2018-07-26 07:46:43 -07:00
|
|
|
/*
|
|
|
|
* Navbar
|
|
|
|
*/
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
margin: 1em 0;
|
|
|
|
display: flex; /* this is also defined in framework, but in case of future changes */
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > div {
|
2018-07-26 07:46:43 -07:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > .searchbar {
|
2018-07-26 07:46:43 -07:00
|
|
|
flex-grow: 2; /* take double the space of the other items */
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a {
|
|
|
|
padding: 0; /* this way it will stay aligned with content under */
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .index-link {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > .searchbar .pure-form input[type="search"] {
|
2018-07-26 07:46:43 -07:00
|
|
|
border-top: 0;
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
padding: initial 0;
|
|
|
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
transition: 0.1s border-bottom;
|
|
|
|
}
|
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > .searchbar .pure-form fieldset {
|
2018-07-26 07:46:43 -07:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* attract focus to the searchbar by adding a subtle transition */
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > .searchbar .pure-form input[type="search"]:focus {
|
2018-07-26 07:46:43 -07:00
|
|
|
border-bottom: 2px solid #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-field {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-field div {
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-field div:not(:last-child) {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 767px) {
|
|
|
|
.navbar {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > div {
|
2018-07-26 07:46:43 -07:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-07-30 16:38:55 -07:00
|
|
|
}
|
2018-07-26 07:46:43 -07:00
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > div:not(:last-child) {
|
2018-07-26 07:46:43 -07:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > .searchbar > form {
|
2018-07-26 07:46:43 -07:00
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 320px) {
|
2018-07-30 16:38:55 -07:00
|
|
|
.navbar > .searchbar > form {
|
2018-07-26 07:46:43 -07:00
|
|
|
width: 100%;
|
|
|
|
margin: 0 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Footer
|
|
|
|
*/
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
color: #666666;
|
|
|
|
margin: 2em 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* keyframes */
|
|
|
|
|
2018-07-20 12:36:23 -07:00
|
|
|
@keyframes spin {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|