gopherss/views/static/style.css

188 lines
2.5 KiB
CSS
Raw Normal View History

2020-11-08 19:16:10 +00:00
body {
padding-bottom: 20px;
}
2020-10-17 18:02:52 +00:00
.hide {
display: none;
}
.strong {
font-weight: bold;
color: #333;
}
.dark .strong {
font-weight: bold;
2020-10-17 18:50:13 +00:00
color: #fefefe;
2020-10-17 18:02:52 +00:00
}
.loading {
margin: 0 auto;
display: block;
}
.container {
max-width: min(50%, 100em);
position: relative;
}
2020-11-18 19:45:39 +00:00
header {
display: flex;
}
header h1 {
width: -moz-available;
}
2020-10-17 18:02:52 +00:00
.item-heading .item-title {
margin-bottom: 0;
font-size: 1.1rem;
}
.item-heading {
margin-bottom: 2px;
}
.item-heading .date {
float: right;
}
.item-heading:after {
content: '';
clear: both;
display: table;
}
.item {
padding: 3px;
}
.item:nth-of-type(even) {
background: #ccc;
}
.item-content {
margin-bottom: 1.75rem;
padding: 15px;
margin-top: -2px;
border-top: none;
}
.feeds {
position: absolute;
left: max(-25vw, -500px);
width: min(25vw, 500px);
margin: 0 5px;
}
.feeds .alert {
margin-bottom: 1px !important;
}
.alert:hover:not(.alert-success):not(.no-items) {
border-color: #ff2e88;
color: #00bcd4;
cursor: pointer;
font-weight: bold;
}
.menu {
text-align: right;
}
2020-11-18 19:45:39 +00:00
button {
2020-10-17 18:02:52 +00:00
background: none;
border: none;
cursor: pointer;
}
2020-11-18 19:45:39 +00:00
button:disabled {
2020-10-17 18:02:52 +00:00
cursor: not-allowed;
}
2020-11-18 19:45:39 +00:00
button:not(:disabled):hover svg path {
2020-10-17 18:02:52 +00:00
fill: #ff2e88;
}
.dark button svg path {
fill: #eee;
}
.modal {
z-index: 999;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(600px, 80vw);
background: white;
box-shadow: 1px 2px 3px #333
}
2020-11-18 19:45:39 +00:00
@media only screen and (min-width: 701px) {
.feed-toggle {
display: none;
}
}
2020-10-17 18:02:52 +00:00
@media only screen and (max-width: 700px) {
2020-11-18 19:45:39 +00:00
.feeds{
position: initial;
width: 100%;
height: 0px;
margin: 0;
overflow: hidden;
transition: all 2s;
}
2020-10-17 18:02:52 +00:00
.container {
max-width: 100em;
}
}
2020-10-17 18:50:13 +00:00
2020-11-18 19:45:39 +00:00
.feeds.show-mobile {
height: 50vh;
overflow-y: scroll;
}
2020-10-17 18:50:13 +00:00
.dark {
background: #333;
}
2020-10-17 19:52:23 +00:00
.item-content .card-content {
all: unset;
width: 100% !important;
overflow: scroll !important;
overflow-x: auto !important;
}
.item-content .card-content * {
max-width: 100% !important;
height: auto !important;
}
.item-content .card-content table {
width: 100% !important;
}
.item-content .card-content img {
margin: auto auto !important;
}
.item-content .card-content p {
font-family: 'Roboto', sans-serif;
font-size: 14px;
line-height: 20px;
letter-spacing: 0em;
font-weight: 500;
}
.item-content .card-content a {
color: #333;
font-weight: bold;
}
.dark .item-content .card-content a {
color: #ccc;
}