This commit is contained in:
Dym Sohin 2023-10-13 02:20:37 +02:00
commit b9d9426490
6 changed files with 337 additions and 0 deletions

BIN
freefeed.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

21
license Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Dym Sohin <re@dym.sh>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

3
meta.toml Normal file
View File

@ -0,0 +1,3 @@
title = 'freefeed-dark'
tags = [ 'css' ]

BIN
mokum.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

28
readme.md Normal file
View File

@ -0,0 +1,28 @@
# freefeed-dark
# [archived]
(every site since then implemented its own dark mode)
> Dark Mode for
- https://freefeed.net
- https://mokum.place
- https://myfeed.rocks
## install
- [style.user.css](./style.user.css)
- https://userstyles.org/styles/164845
## mirrors
- https://github.com/dym-sh/freefeed-dark
- https://gitlab.com/dym-sh/freefeed-dark
- https://dym.sh/freefeed-dark
## license
[mit](./license)

285
style.css Normal file
View File

@ -0,0 +1,285 @@
@-moz-document domain("freefeed.net")
, domain("mokum.place")
, domain("myfeed.rocks")
{
.sidebar .box-body
, .content .box-body
, .content .box-footer
, .arrow-span
, .post
, .sidebar-emt
, .nodeAuth
, .sh-item
, .bootstrap-switch .bootstrap-switch-label
, .show-sidebar
, .phui-document-container
, .phui-document-content
{ background : none !important }
a
, .expandable .expand-panel .expand-button
, .bem-sidebar .bem-live-selector .bootstrap-switch-handle-off
, .btn-link
, header .mobile-sidebar-toggle
, .post .read-more
, .phui-property-list-key
, .phui-crumbs-view a.phui-crumb-view
, .phui-crumbs-view a.phui-crumbs-action
, .user-card .user-card-actions a
{ color : #666 !important }
body
, .box-header
, .box-header-empty
, .box-header-timeline
, .box-header-friends
, .box-header-groups
, .box-header-search
, .post .post-body
, .post .post-top .post-text
, .post .post-body .post-text
, .Select-value-label-standalone
, .Select--multi .Select-value
, .profile .description
, .btn-default
, .open > .btn-default.dropdown-toggle
, .user-profile .profile-description
, .post-cont
, h3
, .sh-selected a
, .form-control
, label
, .bem-sidebar .bem-live-selector .bootstrap-switch-handle-on
, .bem-post__likes
, .alert-warning
, .bem-sidebar-menu__title
, .bem-sidebar-userinfo__display-name
, .Select-control .Select-value .Select-value-label
, .bem-post__posted-to_feeds
, input
, button
, select
, textarea
, .Linkify
, .bem-post__comment-text
, .alert
, .phui-property-list-value
, .phui-header-header
, .phui-header-subheader
, .phui-header-subheader .policy-link
, .phui-icon-view.bluegrey
, .phui-document-view-pro .phui-document-toc-header
, .phui-icon-view
, pre
, .phui-crumbs-view
, .phui-basic-nav .phabricator-side-menu .phui-list-item-type-label
, .card-body .display-name
, .user-card .username
, .user-card .feed-status
, .user-card .relationship-status
, .user-card .user-card-actions
{ color : #bbb !important }
.post
, .profile
, .box-header
, .box-header-empty
, .box-header-timeline
, .box-header-friends
, .box-header-groups
, .box-header-search
, .create-post
, .profile-controls
, .sb-emt-title
, .pagetitle
, .settings-head div
, .bem-page__post
, .table td
, .table th
, hr
, .avatar img
, .post .post-userpic
, .image-attachments .attachment
, .new-post-feed
, .removeable-item
, .bem-sidebar-menu__divider
, .bem-page__phone-navigation
{ border-color : #333 !important }
.post-editor .post-textarea
, .comment .comment-textarea
, .search-form .search-input
, .Select-value-label-standalone
, .Select--multi .Select-value
, .Select-control
, .search-form .search-button
, .image-attachments .image-attachment-link
, .btn-default
, .open > .btn-default.dropdown-toggle
, .sidebar a.bookmarklet-button
, .form-control
, .edit-txt-area
, .input-group-addon
, input:not( [type="image"] )
, button:not( .pswp__button
):not( .ril__toolbarItemChild
):not( .ril__navButtons
)
, select
, textarea
, .bootstrap-switch
, .bem-sidebar .bem-live-selector .bootstrap-switch-handle-on
, .bem-sidebar .bem-live-selector .bootstrap-switch-handle-off
, .bg-warning
, .alert-warning
, header .mobile-sidebar-toggle
, .comment.targeted-comment
, .alert
, .actions-panel
, .actions-panel .mention-actions
, .phui-crumbs-view
, .phui-theme-indigo .phabricator-main-menu-background
, hr
, .policy-header-callout
, .phui-header-subheader .phui-tag-core
, button.grey
, input[type="submit"].grey
, a.grey
, a.grey:visited
, button.simple
, input[type="submit"].simple
, a.simple
, a.simple:visited
, .aphront-dialog-view
, .aphront-dialog-body
, .aphront-dialog-tail
, .phuix-dropdown-menu
, .phui-document-view-pro .phui-document-toc-list
, .phui-box-border
, pre
, .auth-account-view
, .hovercard
, .comment-likes .comment-likes-list
, .user-card
, .user-card .user-card-info
, .user-card .user-card-actions
, .userpic
{ background : #333 !important
; border : 0 !important
}
.comment.highlighted
, .table-striped tbody tr:nth-of-type(2n)
{ background : #444 !important }
.comment.highlighted::before
, .phui-info-severity-notice
, .subscribe-controls
{ border-color : #444 !important }
.comment:hover .reference-arrow
, .comment.highlight-from-url
, .phui-info-view
, .table-striped tbody tr:nth-of-type(2n+1)
{ background : #333 !important
; color : #bbb !important
}
.comment.highlight-from-url::before
, .post::after
{ border-color : #333 !important }
.comment:hover .reference-arrow:hover
, .phui-policy-section-view-header
, .phabricator-remarkup tt.remarkup-monospaced
{ background : #444 !important
; color : #bbb !important
}
.phui-policy-section-view-header
, .phui-header-shell
, .phui-object-box .phui-oi-list-view .phui-oi-frame
, .application-search-view .application-search-results .phui-profile-header
{ border-color : #444 !important }
.search-form .search-button:hover
, .search-form .search-button:focus
, .search-form .search-button:active
, .btn-default:hover
, .btn-default:focus, .btn-default.focus
, .btn-default:active, .btn-default.active
, .open > .btn-default.dropdown-toggle
, .sh-selected
, .new-post-feed
, .removeable-item
{ background : #666 !important }
.btn-success
, .phabricator-remarkup-embed-image
{ background : #666 !important
; color : #bbb !important
; border : 0 !important
}
.search-form .search-input
{ margin-top : 0 !important
; padding : 2px 4px !important
}
.link-preview .folder-container .content-wrapper.folded::after
{ background : -webkit-linear-gradient(
rgba(34, 34, 34, 0) 0%
, rgba(34, 34, 34, 0.2) 25%
, rgba(34, 34, 34, 0.8) 75%
, #222 100%
) !important
; background : -o-linear-gradient(
rgba(34, 34, 34, 0) 0%
, rgba(34, 34, 34, 0.2) 25%
, rgba(34, 34, 34, 0.8) 75%
, #222 100%
) !important
; background : linear-gradient(
rgba(34, 34, 34, 0) 0%
, rgba(34, 34, 34, 0.2) 25%
, rgba(34, 34, 34, 0.8) 75%
, #222 100%
) !important
}
.fold-comments-sticky
{ background : rgba(34, 34, 34, 0.9) !important
; box-shadow : 0 0 4px 8px
rgba(34, 34, 34, 0.9) !important
}
.preview-expand
{ padding-bottom : 8px !important }
.comment-icon i.fa-inverse
{ display : none !important }
.likes .likes-icon .icon-heart
, .comment .comment-icon.comment-icon-special .icon-comment
, .comment .comment-icon .icon-comment
, .comment .comment-icon .icon-comment-plus
, .comment .comment-likes.clikes-zero .clikes-icon .icon-heart
, .comment .comment-likes .clikes-icon .icon-heart
{ fill : #222 !important }
.likes-smile .icon
{ color : #222 !important }
.actions-overlay
{ background-color : rgba(34, 34, 34, 0.8) !important }
body
, .sidebar
, .expandable .expand-panel
, .phui-oi
, .phui-basic-nav .phabricator-side-menu
, .aphront-form-input input
, .aphront-form-control input
, .phui-two-column-view .phui-two-column-header
, .auth-account-view
{ background : #222 !important }
}