mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add support for community polls to Invidious
This commit is contained in:
parent
ed4cfd1060
commit
2af442ca2f
42 changed files with 258 additions and 42 deletions
47
assets/css/community.css
Normal file
47
assets/css/community.css
Normal file
|
@ -0,0 +1,47 @@
|
|||
.community-poll {
|
||||
padding: 0px 10px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.community-poll-item {
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.dark-theme .community-poll {
|
||||
background-color: #363636;
|
||||
}
|
||||
|
||||
.dark-theme .community-poll-item {
|
||||
background-color: #3d3d3d;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.no-theme .community-poll {
|
||||
background-color: #363636;
|
||||
}
|
||||
|
||||
.no-theme .community-poll-item {
|
||||
background-color: #3d3d3d;
|
||||
}
|
||||
}
|
||||
|
||||
.light-theme .community-poll {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.light-theme .community-poll-item {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
.no-theme .community-poll {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.no-theme .community-poll-item {
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue