@import url(https://monoxid.net/static/fonts/open-sans/basic.css);
@import url(https://monoxid.net/static/fonts/fira-mono/monospace.css);
:root {
  color-scheme: light dark;
  --body-bg-color: #ffffff;
  --text-color: #202020;
  --notes-bg-color-hover: rgba(255, 255, 150, 0.45);
  --note-content-border-color: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-color: #151515;
    --text-color: #f0f0f0;
    --notes-bg-color-hover: rgba(255, 255, 150, 0.1);
    --note-content-border-color: #303030;
  }
}
html, body {
  height: 100%;
  background: var(--body-bg-color);
}

body {
  margin: 0;
  font: normal 11pt open-sans, "Helvetica Neue", sans-serif;
}

body, a {
  color: var(--text-color);
}

.form-group + .form-group {
  margin-top: 0.5em;
}

.form-control {
  width: 100%;
  margin: 0;
  padding: 0.33em;
  border: 1px solid #d0d0d0;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  border-color: #efd0d0;
}

.form-errors {
  color: #d00000;
  margin: 0 0 1em;
  opacity: 0;
  transform: translateY(-2em);
  transition: 0.2s ease-out;
  transform-property: opacity, transform;
}

form {
  position: relative;
}
form.loading:after, form.loading:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}
form.loading:after {
  background: rgba(255, 255, 255, 0.5);
}
form.loading:before {
  width: 2em;
  height: 2em;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: black;
}
form.redirecting:before {
  background-color: #00d000;
}
form.has-errors .form-errors {
  transform: translateY(0);
  opacity: 1;
}

.button {
  margin: 0;
  padding: 0.33em 1em;
  border: 1px solid #202020;
  background: #404040;
  font-family: inherit;
  font-size: inherit;
  color: white;
  cursor: pointer;
  text-align: center;
}
.button.secondary {
  background-color: #606060;
  border-color: #303030;
}
.button.icon {
  background: none;
  border: 0;
}

.full-width {
  width: 100%;
  box-sizing: border-box;
}

.login-form {
  max-width: 15em;
  margin: 0 auto;
  padding-top: 4em;
}

.note-form {
  margin: 0 0 1em;
}
.note-form form {
  height: 0;
  margin-top: 1em;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.33s ease-out;
}
.note-form.open form {
  height: auto;
  opacity: 1;
}
.note-form .icon {
  width: 3em;
}

.page-wrapper {
  padding: 1em;
}

textarea {
  resize: vertical;
}
textarea.form-control {
  padding: 1em;
}

hr {
  height: 0;
  margin: 1em 0;
  border: 0;
  border-top: 2px solid rgba(127, 127, 127, 0.25);
}

pre {
  overflow: auto;
  padding: 0.66em;
  background: rgba(0, 0, 0, 0.035);
  border: 2px solid rgba(127, 127, 127, 0.2);
}

pre, code {
  font: normal 0.95em/1.33em "fira-mono", "Andale Mono", Consolas, monospace;
}

nav {
  text-align: right;
}
nav ul, nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}
nav .left {
  float: left;
}
nav .right {
  float: right;
}

.icon {
  display: inline-block;
}

/*.icon {
	width: 1.66em;
	height: 1.66em;
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	background: transparent;
	background-size: 66%;
	background-position: center;
	background-repeat: no-repeat;

	&.delete {
		background-image: url(img/lnr-trash.svg);
	}

	&.edit {
		background-image: url(img/lnr-pencil.svg);
	}

	&.add {
		background-image: url(img/lnr-file-add.svg);
	}
}*/
.button.icon {
  opacity: 0.5;
  transition: opacity 0.15s ease-in-out;
  padding: 0;
}
.button.icon:hover {
  opacity: 1;
}

.notes-list {
  margin: -0.5em;
}
.notes-list .note {
  width: 33.33%;
  float: left;
  padding: 0.5em;
  opacity: 1;
  position: relative;
  background: transparent;
  box-sizing: border-box;
}
.notes-list .note .note-content {
  transition: background 0.33s ease-out;
}
.notes-list .note.drop {
  transition: transform 0.33s ease-in-out, opacity 0.33s ease-in-out;
  opacity: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
}
.notes-list .note.removing {
  opacity: 0.5;
}
.notes-list .note.blink .note-content {
  background: yellow;
  transition: background 0s ease-out;
}
.notes-list .note .note-controls .delete {
  display: none;
}
.notes-list .note:hover .note-content {
  background-color: var(--notes-bg-color-hover);
}
.notes-list .note:hover .note-controls .delete {
  display: inline-block;
}
.notes-list .note-content {
  padding: 1em;
  border: 2px solid var(--note-content-border-color);
  overflow: hidden;
}
.notes-list .note-date {
  color: #808080;
  font-size: 0.9em;
  margin-bottom: 0.5em;
}
.notes-list .note-attachments {
  border-top: 2px solid rgba(127, 127, 127, 0.25);
  margin-top: 1em;
  padding-top: 0.25em;
}
.notes-list .note-controls {
  right: 1.2em;
  top: 1.2em;
  position: absolute;
}
.notes-list .note-edit {
  text-align: right;
  margin-top: 1em;
  font-size: 0.9em;
}
.notes-list p, .notes-list pre {
  margin: 0;
}
.notes-list p + p, .notes-list p + pre, .notes-list pre + p, .notes-list pre + pre {
  margin-top: 1em;
}

@media screen and (max-width: 60em) {
  .notes-list .note {
    width: 50%;
  }
}
@media screen and (max-width: 35em) {
  .notes-list .note {
    width: 100%;
  }
}

/*# sourceMappingURL=main.css.map */
