espial/static/css/main.css

241 lines
3.7 KiB
CSS
Raw Permalink Normal View History

2024-02-09 22:52:41 +00:00
@media (prefers-color-scheme: dark) {
html, img, video, iframe { filter: invert(1); }
body { background-color: white; }
}
2020-10-02 16:09:10 +00:00
html {
height: 102%;
}
body {
height: 102%;
word-wrap: break-word;
}
button {
2020-10-01 19:42:39 +00:00
background: none;
border: none;
padding: 0;
cursor: pointer;
2020-10-02 16:09:10 +00:00
}
button:focus {
outline: none;
}
[hidden] {
2020-10-01 19:42:39 +00:00
display: none !important;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
2020-10-02 16:09:10 +00:00
input::placeholder {
2020-10-01 19:42:39 +00:00
color: lightgray;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
2020-10-01 19:46:43 +00:00
input[type="text"],
input[type="url"],
input[type="password"],
textarea {
font-size: 16px;
}
2020-10-02 16:09:10 +00:00
.queryInput {
width: 128px;
padding: 0 22px 0 2px;
border-radius: 3px;
border-style: solid;
border-width: 1px;
border-color: gray;
height: 22px;
line-height: 22px;
2020-10-01 19:42:39 +00:00
transition: width 0.1s ease-in-out;
}
.queryInput.search-inactive {
2020-10-02 16:09:10 +00:00
}
.queryInput:focus {
width: 175px;
}
.submitting .queryInput,
.queryInput.search-active {
border-color: #990;
border-width: 2px;
2020-10-01 19:42:39 +00:00
background-color: #ff9;
2020-10-02 16:09:10 +00:00
width: 175px;
}
.queryIcon {
position: absolute;
right: 0;
2020-10-01 19:42:39 +00:00
top: 1px;
cursor: pointer;
width: 20px;
2020-10-02 16:09:10 +00:00
height: 20px;
fill: currentColor;
}
label {
cursor: pointer;
}
.close-x-wrap {
2020-10-01 19:42:39 +00:00
float: left;
width: 17px;
height: 17px;
top: 2px;
position: relative;
right: 2px;
2020-10-02 16:09:10 +00:00
}
.close-x {
2020-10-01 19:42:39 +00:00
stroke: gray;
fill: transparent;
stroke-linecap: round;
stroke-width: 3;
2020-10-02 16:09:10 +00:00
}
.query-info-icon {
2020-10-01 19:42:39 +00:00
position: absolute;
top: 0px;
right: -18px;
text-decoration: none;
font-size: 12px;
padding: 0 8px 8px 0;
2020-10-02 16:09:10 +00:00
}
.star {
2020-10-01 19:42:39 +00:00
margin-left: -20px;
font-size: 1.2em;
position: relative;
top: -2px;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
.star button {
transition: color 0.1s;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
.star.selected button {
color: #22a;
2020-10-02 16:09:10 +00:00
}
.edit_links button {
2020-10-01 19:42:39 +00:00
transition: color 0.1s ease-in;
2020-10-02 16:09:10 +00:00
}
.tag {
2020-10-01 19:42:39 +00:00
color: #a51;
line-height: 190%;
2020-10-02 16:09:10 +00:00
display: inline-block;
}
.tag-include {
2020-10-01 19:42:39 +00:00
color: rgb(221, 221, 221);
line-height: 190%;
2020-10-02 16:09:10 +00:00
display: inline-block;
}
.tag-exclude {
2020-10-01 19:42:39 +00:00
color: rgb(255, 170, 170);
line-height: 190%;
display: inline-block;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
.private {
background: #ddd;
border: 1px solid #d1d1d1;
}
.unread {
color: #b41;
}
.mark_read {
color: #a81;
}
.flash {
color: green;
background: #efe;
}
2020-10-02 16:09:10 +00:00
2020-10-01 19:42:39 +00:00
.top_menu {
margin-top: 6px;
2020-10-02 16:09:10 +00:00
}
.top_menu a {
color: blue;
}
2020-10-01 19:42:39 +00:00
.bookmarklet {
padding: 1px 2px 0px 2px;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
.alert {
background: #ced;
border: 1px solid #acc;
2021-10-03 03:31:51 +00:00
margin-bottom: 5px;
padding: 2px;
}
.alert.alert-err {
background-color: #ffdfdf
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
.edit_bookmark_form {
color: #888;
}
.edit_bookmark_form input {
border: 1px solid #ddd;
}
.edit_bookmark_form textarea {
border: 1px solid #ddd;
}
2020-10-02 16:09:10 +00:00
.nav-active {
2020-10-01 19:42:39 +00:00
background: #ff8;
color: blue;
2020-10-02 16:09:10 +00:00
}
/* mobile device */
2020-10-01 19:42:39 +00:00
@media only screen and (max-width: 750px) {
body {
-webkit-text-size-adjust: none;
2020-10-02 16:09:10 +00:00
}
.display {
2020-10-01 19:42:39 +00:00
float: none;
2020-10-02 16:09:10 +00:00
}
}
2020-10-01 19:42:39 +00:00
@media only screen and (max-width: 500px) {
2020-10-02 16:09:10 +00:00
.filters {
clear: both;
position: relative;
top: 2px;
}
}
.rdim {
2020-10-01 19:42:39 +00:00
opacity: 0.8;
transition: all 0.15s ease-in;
2020-10-02 16:09:10 +00:00
}
.rdim:hover,
.rdim:focus {
2020-10-01 19:42:39 +00:00
opacity: 1;
transition: all 0.15s ease-in;
2020-10-02 16:09:10 +00:00
}
.display .description > div p,
2020-10-01 19:42:39 +00:00
.display .description > div pre {
margin-top: 9px;
margin-bottom: 9px;
2020-10-02 16:09:10 +00:00
}
.display .description > div > *:first-child {
2020-10-01 19:42:39 +00:00
margin-top: 2px;
2020-10-02 16:09:10 +00:00
}
.display .description > div > *:last-child {
2020-10-01 19:42:39 +00:00
margin-bottom: 2px;
2020-10-02 16:09:10 +00:00
}
.display .description > div > ol li p {
2020-10-01 19:42:39 +00:00
margin-top: 0;
margin-bottom: 0;
2020-10-02 16:09:10 +00:00
}
.display .description > div > ul li p {
2020-10-01 19:42:39 +00:00
margin-top: 0;
margin-bottom: 0;
2020-10-02 16:09:10 +00:00
}
.display .description > div ol {
2020-10-01 19:42:39 +00:00
padding-left: 23px;
2020-10-02 16:09:10 +00:00
}
.display .description > div ul {
2020-10-01 19:42:39 +00:00
padding-left: 23px;
2020-10-02 16:09:10 +00:00
}
2020-10-01 19:42:39 +00:00
code,
pre {
font-size: 13px;
2020-10-02 16:09:10 +00:00
}
#content:not([view-rendered]) .view-delay {
2020-10-01 19:42:39 +00:00
display: none !important;
2020-10-02 16:09:10 +00:00
}