lemmy/ui/assets/css/main.css

228 lines
3.0 KiB
CSS
Raw Normal View History

2019-08-20 21:40:51 +00:00
.navbar-toggler {
border: 0px;
}
.pointer {
cursor: pointer;
}
.no-click {
pointer-events:none;
opacity: 0.65;
}
.upvote:hover {
color: var(--info);
}
2019-08-17 19:46:32 +00:00
.upvote {
margin-bottom: -5px;
}
.downvote:hover {
color: var(--danger);
}
2019-08-17 19:46:32 +00:00
.downvote {
margin-top: -10px;
}
.md-div p {
overflow: hidden;
text-overflow: ellipsis;
}
2019-08-24 21:27:25 +00:00
.md-div p:last-child {
margin-bottom: 0px;
}
.md-div img {
2020-02-07 03:24:23 +00:00
max-height: 90vh;
max-width: 100%;
height: auto;
}
2020-01-19 14:20:10 +00:00
.md-div h1,
.md-div h2,
.md-div h3,
.md-div h4,
.md-div h5 {
font-size:1.171875rem;
}
.md-div table {
border-collapse: collapse;
width: 100%;
margin-bottom: 1rem;
border: 1px solid var(--dark);
}
.md-div table th,
.md-div table td {
padding: 0.3rem;
vertical-align: top;
border-top: 1px solid var(--dark);
border: 1px solid var(--dark);
}
.md-div table thead th {
vertical-align: bottom;
border-bottom: 2px solid var(--dark);
}
.md-div table tbody + tbody {
border-top: 2px solid var(--dark);
}
.comment-node {
2019-08-18 01:59:59 +00:00
margin-bottom: 10px;
}
2019-08-18 02:31:32 +00:00
.vote-bar {
2019-08-29 04:57:38 +00:00
margin-top: -6.5px;
2019-08-18 02:31:32 +00:00
}
2019-08-18 04:41:55 +00:00
.post-title {
line-height: 1.0;
}
.icon {
display: inline-flex;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
vertical-align: middle;
align-self: center;
}
.spin {
animation: spins 2s linear infinite;
}
@keyframes spins {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}
.dropdown-menu {
z-index: 2000;
}
blockquote {
border-left: 3px solid #ccc;
margin: 0.5em 5px;
padding: 0.1em 5px;
}
2019-04-20 18:17:00 +00:00
.mouse-icon {
margin-top: -4px;
}
.new-comments {
max-height: 50vh;
2019-04-22 00:27:39 +00:00
overflow: hidden;
}
.new-comments:hover {
overflow-y: auto;
}
2019-04-24 17:26:15 +00:00
.thumbnail {
object-fit: cover;
max-height: 80px;
width: 100%;
}
svg.thumbnail {
height: 40px;
2019-04-24 17:26:15 +00:00
}
2019-04-26 15:53:45 +00:00
2019-04-26 16:11:04 +00:00
.no-s-hows {
2019-04-26 16:21:20 +00:00
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
2019-04-26 15:53:45 +00:00
}
2019-08-29 19:06:08 +00:00
hr {
border-top: 1px solid var(--secondary);
}
2019-08-31 16:40:42 +00:00
.emoji {
height: 1.2em !important;
}
.text-wrap-truncate {
overflow: hidden;
text-overflow: ellipsis
}
2020-01-16 01:24:47 +00:00
#app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.fl-1 {
flex: 1;
}
2020-01-20 19:38:41 +00:00
.img-blur {
filter: blur(10px);
-webkit-filter: blur(10px);
-moz-filter: blur(10px);
-o-filter: blur(10px);
-ms-filter: blur(10px);
}
2020-02-07 03:24:23 +00:00
.img-expanded {
max-height: 90vh;
}
.vote-animate:active {
transform: scale(1.2);
-webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
}
.selectr-selected, .selectr-options-container {
background-color: var(--secondary);
color: var(--white);
border: unset;
}
2020-02-21 16:26:42 +00:00
.mini-overlay {
position: absolute;
top: 0;
right: 0;
padding: 2px;
2020-02-29 22:16:42 +00:00
height: 1.5em;
width: 1.5em;
background: rgba(0,0,0,.4);
border-bottom-left-radius: 0.25rem !important;
border-top-right-radius: 0.25rem !important;
}
.link-overlay:hover {
transition: .1s;
opacity: 1;
}
.link-overlay {
transition: opacity .1s ease-in-out;
position: absolute;
opacity: 0;
left: 0;
height: 100%;
width: 100%;
padding: 10px;
background: rgba(0,0,0,.6);
}
.placeholder {
height: 50px;
width: 50px;
}