index.community/frontend/src/index.css

70 lines
1.3 KiB
CSS
Raw Normal View History

2018-08-27 15:27:09 +00:00
html, body {
2018-08-27 11:41:01 +00:00
margin: 0;
2018-09-03 11:36:14 +00:00
padding: 50px 0 0 0;
2018-08-27 11:41:01 +00:00
font-family: sans-serif;
2018-09-03 14:10:44 +00:00
/*background-color: #30404D;*/
background-color: #293742;
2018-08-27 15:27:09 +00:00
height: 100%;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,Icons16,sans-serif;
2018-08-27 11:41:01 +00:00
}
2018-08-27 15:27:09 +00:00
2018-09-03 11:36:14 +00:00
.fediverse-heading-icon {
margin-right: 8px;
}
.fediverse-about-dialog {
top: 100px;
2018-08-27 21:31:27 +00:00
}
.fediverse-instance-search-popover {
max-height: 350px;
min-width: 300px;
2018-08-27 21:31:27 +00:00
overflow-x: hidden;
}
2018-09-01 17:24:05 +00:00
.fediverse-sidebar {
position: fixed;
top: 50px;
bottom: 0;
right: 0;
2018-09-04 19:29:37 +00:00
min-width: 400px;
2018-09-01 17:24:05 +00:00
width: 25%;
z-index: 20;
overflow: scroll;
overflow-x: hidden;
2018-09-04 19:29:37 +00:00
transition-property: all;
transition-duration: .5s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.fediverse-sidebar.closed {
right: -400px;
}
.fediverse-sidebar-toggle-button {
position: absolute;
top: 50px;
right:400px;
z-index: 20;
transition-property: all;
transition-duration: .5s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.fediverse-sidebar-toggle-button.closed {
right: 0;
2018-09-01 17:24:05 +00:00
}
.fediverse-sidebar-table {
width: 100%;
2018-09-04 19:29:37 +00:00
}
@media screen and (min-width: 1600px) {
.fediverse-sidebar.closed {
right: -25%;
}
.fediverse-sidebar-toggle-button {
right: 25%;
}
2018-09-01 17:24:05 +00:00
}