From 700b722736b1cc388570257e7f35c90776a71b08 Mon Sep 17 00:00:00 2001 From: some weird guy <120821766+Mistake35@users.noreply.github.com> Date: Tue, 25 Jul 2023 20:59:06 -0700 Subject: [PATCH] Cutting away the fat Removed the gender selection thing as it was pointless, also trimmed the fat for the MOTDs and welcome messages. --- closedverse_main/context_processors.py | 0 closedverse_main/models.py | 60 +-- .../closedverse_main/community_list.html | 9 +- .../closedverse_main/community_view.html | 6 +- .../elements/user-sidebar.html | 8 - .../closedverse_main/profile-settings.html | 20 - closedverse_main/views.py | 42 +- static/darkness.css | 501 ------------------ static/fedora.png | Bin 2774 -> 0 bytes static/old.css | 75 --- static/redhat.png | Bin 1002 -> 0 bytes 11 files changed, 21 insertions(+), 700 deletions(-) delete mode 100644 closedverse_main/context_processors.py delete mode 100644 static/darkness.css delete mode 100644 static/fedora.png delete mode 100644 static/old.css delete mode 100644 static/redhat.png diff --git a/closedverse_main/context_processors.py b/closedverse_main/context_processors.py deleted file mode 100644 index e69de29..0000000 diff --git a/closedverse_main/models.py b/closedverse_main/models.py index 6a7183e..cb38e54 100644 --- a/closedverse_main/models.py +++ b/closedverse_main/models.py @@ -633,13 +633,13 @@ class Community(models.Model): if self.type == 1: return { 0: "", - 1: "3DS Games", - 2: "Wii U Games", - 3: "Switch Games", - 4: "Wii U Games\u30FB3DS Games", - 5: 'PC Games', - 6: 'Xbox Games', - 7: 'Playstation Games', + 1: "3DS Game", + 2: "Wii U Game", + 3: "Switch Game", + 4: "Wii U / 3DS Game", + 5: 'PC Game', + 6: 'Xbox Game', + 7: 'Playstation Game', }.get(self.platform) else: return { @@ -1153,14 +1153,9 @@ class Profile(models.Model): pronoun_is = models.IntegerField(default=0, choices=( (0, "I don't know"), (1, "He/him"), (2, "She/her"), (3, "He/she"), (4, "It"), (5, "They/Them") - )) - - gender_is = models.IntegerField(default=0, choices=( - (0, "I don't know"), (1, "Girl"), (2, "Boy"), (3, "Minion"), (4, "Toaster"), (5, "Dinosaur"), (6, "Truck"), (7, "Robot"), (8, "Monkey"), (9, "Big chungus"), (10, "Other") - )) + )) let_friendrequest = models.SmallIntegerField(default=0, choices=visibility) - yeahs_visibility = models.SmallIntegerField(default=0, choices=visibility) comments_visibility = models.SmallIntegerField(default=2, choices=visibility) #relationship_visibility = models.SmallIntegerField(default=0, choices=visibility) @@ -1612,7 +1607,7 @@ class RedFlag(models.Model): def __str__(self): return "Report on a " + self.get_type_display() + " for " + self.get_reason_display() + ": " + str(self.reasoning) -# Login attempts: for incorrect passwords +# Login attempts: class LoginAttempt(models.Model): id = models.AutoField(primary_key=True) created = models.DateTimeField(auto_now_add=True) @@ -1689,19 +1684,6 @@ class AuditLog(models.Model): else: return False -# TODO: MAKE THIS ACTUALLY WORK -class Restriction(models.Model): - id = models.AutoField(primary_key=True) - created = models.DateTimeField(auto_now_add=True) - type = models.SmallIntegerField(choices=((0, "Prevent yeah"), (1, "Prevent follow"), (2, "Prevent comment"), )) - post = models.ForeignKey(Post, related_name='restriction_post', null=True, on_delete=models.CASCADE) - comment = models.ForeignKey(Comment, related_name='restriction_comment', null=True, on_delete=models.CASCADE) - user = models.ForeignKey(User, related_name='restriction_user', null=True, on_delete=models.CASCADE) - by = models.ForeignKey(User, related_name='restriction_by', on_delete=models.CASCADE) - - def __str__(self): - return "Restrict " + str(self.user) + " on " + self.get_type_display() + " at " + str(self.created) - class UserRequest(User): # USER AGENT ua = models.TextField(default='', null=True, blank=True) @@ -1740,18 +1722,6 @@ class Motd(models.Model): hide_date = models.BooleanField(default=False) image = models.ImageField(upload_to='MOTD/%y/%m/%d/', max_length=255, null=True, blank=True) - def get_one(): - mesoftheday = Motd.objects.order_by('order', '-id').filter(show=True) - return mesoftheday - - def motds_available(): - global motdsavailable - if(Motd.objects.filter(show=True).exists()): - motdsavailable = True - else: - motdsavailable = False - return motdsavailable - class welcomemsg(models.Model): id = models.AutoField(primary_key=True) order = models.IntegerField(max_length=3, default=1) @@ -1760,18 +1730,6 @@ class welcomemsg(models.Model): Title = models.CharField(max_length=256, null=False, blank=False, default='Title') message = models.TextField(null=False, blank=False) image = models.ImageField(upload_to='welcomemsg/%y/%m/%d/', max_length=255, null=True, blank=True) - - def get_one(): - welmes = welcomemsg.objects.order_by('order', '-id').filter(show=True) - return welmes - - def welcomemsg_available(): - global welcomeisavailable - if(welcomemsg.objects.filter(show=True).exists()): - welcomeisavailable = True - else: - welcomeisavailable = False - return welcomeisavailable # thing will log changes to your bio or nickname class ProfileHistory(models.Model): diff --git a/closedverse_main/templates/closedverse_main/community_list.html b/closedverse_main/templates/closedverse_main/community_list.html index 1e278b2..77d086f 100644 --- a/closedverse_main/templates/closedverse_main/community_list.html +++ b/closedverse_main/templates/closedverse_main/community_list.html @@ -10,7 +10,7 @@ {% if user.is_warned %}
-

WARNING: You have been issued a warning by an administrator. No features have been restricted, as this is just a warning. +

WARNING: You have been issued a warning by an administrator.

{% if user.get_warned_reason %}

Reason: "{{ user.get_warned_reason }}"

@@ -19,7 +19,7 @@
{% endif %} - {% if availablemotds and request.user.is_authenticated %} + {% if mesoftheday and request.user.is_authenticated %}

MOTD / News

{% for mesoftheday in mesoftheday %} @@ -31,7 +31,7 @@
{% endif %} - {% if availablemes and not request.user.is_authenticated %} + {% if welmes and not request.user.is_authenticated %}

Welcome to Cedar!

{% for welmes in welmes %} @@ -42,9 +42,6 @@
{% endif %} {% if request.user.c_tokens > 0 %}Create a community{% endif %} - {% if availableads %}

User-Generated Ad

diff --git a/closedverse_main/templates/closedverse_main/community_view.html b/closedverse_main/templates/closedverse_main/community_view.html index e38fe41..b522a33 100644 --- a/closedverse_main/templates/closedverse_main/community_view.html +++ b/closedverse_main/templates/closedverse_main/community_view.html @@ -1,9 +1,9 @@ {% extends "closedverse_main/layout.html" %}{% block main-body %}{% load closedverse_community %} {% community_sidebar community request %}
- {% if user.is_warned and user.is_authenticated and user.is_active %} + {% if user.is_warned %}
-

WARNING: You have been issued a warning by an administrator. No features have been restricted, as this is just a warning. +

WARNING: You have been issued a warning by an administrator.

{% if user.get_warned_reason %}

Reason: "{{ user.get_warned_reason }}"

@@ -22,4 +22,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/closedverse_main/templates/closedverse_main/elements/user-sidebar.html b/closedverse_main/templates/closedverse_main/elements/user-sidebar.html index 8df1dd8..ec8d6a3 100644 --- a/closedverse_main/templates/closedverse_main/elements/user-sidebar.html +++ b/closedverse_main/templates/closedverse_main/elements/user-sidebar.html @@ -172,14 +172,6 @@
{% endif %} - {% if profile.gender_is %} -
-

Gender

-
- {{ profile.get_gender_is_display }} -
-
- {% endif %} {% if profile.external %}

Discord Tag

diff --git a/closedverse_main/templates/closedverse_main/profile-settings.html b/closedverse_main/templates/closedverse_main/profile-settings.html index 98b0f1d..8de9ef9 100644 --- a/closedverse_main/templates/closedverse_main/profile-settings.html +++ b/closedverse_main/templates/closedverse_main/profile-settings.html @@ -136,26 +136,6 @@
- -
  • -

    -
    -
    - -
    -
  • diff --git a/closedverse_main/views.py b/closedverse_main/views.py index 19bcff9..726696c 100644 --- a/closedverse_main/views.py +++ b/closedverse_main/views.py @@ -27,8 +27,6 @@ from binascii import hexlify from os import urandom from datetime import date -#from silk.profiling.profiler import silk_profile - def json_response(msg='', code=0, httperr=400): thing = { # success would be false, but 0 is faster I think (Miiverse used 0 because Perl doesn't have bools) @@ -46,17 +44,6 @@ def json_response(msg='', code=0, httperr=400): return JsonResponse(thing, safe=False, status=httperr) def community_list(request): """Lists communities / main page.""" - msg_list = ["eat breakfast.", "The Cedar train must keep going", "be sure to drink a lot of water.", "We, crusaders, will fight for what we believe in!", "be chill, be calm.", "*insert inspiring sentence*", "this is gonna be a great day for you.", "why not try other not-usally-used features of the website?", "work is hard, but results are great!"] - msgoftheday = choice(msg_list) - - #dateopening = date(2022, 7, 3) - #datehalloween = date(2022, 10, 31) - #datenow = date.today() - #age = datenow - dateopening - #halloween = datehalloween - datenow - #staff_list = User.objects.filter(staff=True) - - if 'json' in request.META.get('HTTP_ACCEPT', ''): cs = CommunitySerializer response = { @@ -80,30 +67,16 @@ def community_list(request): ad = Ads.get_one() else: ad = "no ads" - - availablemotds = Motd.motds_available() - if(availablemotds): - mesoftheday = Motd.get_one() - else: - mesoftheday = "no MOTDs" - - availablemes = welcomemsg.welcomemsg_available() - if(availablemes): - welmes = welcomemsg.get_one() - else: - welmes = "no MOTDs" - + + WelcomeMSG = welcomemsg.objects.filter(show=True).order_by('-order', '-id') + mesoftheday = Motd.objects.filter(show=True).order_by('-order', '-id') + return render(request, 'closedverse_main/community_list.html', { 'title': 'Communities', 'ad': ad, 'mesoftheday': mesoftheday, - 'welmes': welmes, - #'staff_list': staff_list, - #'age': round(age.days / 30, 2), - #'halloween': halloween.days, + 'WelcomeMSG': WelcomeMSG, 'availableads': availableads, - 'availablemotds': availablemotds, - 'availablemes': availablemes, 'classes': classes, 'general': obj.filter(type=0).order_by('-created')[0:8], 'game': obj.filter(type=1).order_by('-created')[0:8], @@ -120,6 +93,7 @@ def community_list(request): }, }) def community_all(request): +# TODO, redo this completely. """All communities, with pagination""" try: offset = int(request.GET.get('offset', '0')) @@ -423,10 +397,6 @@ def user_view(request, username): return json_response('Big brother it\'s too big, I can\'t take it! (length '+str(len(request.POST.get('external')))+', max 300)') if len(request.POST.get('email')) > 500: return json_response('Big brother it\'s too big, I can\'t take it! (length '+str(len(request.POST.get('email')))+', max 500)') - # Kinda unneeded but gdsjkgdfsg - if request.POST.get('website') == 'Web URL' or request.POST.get('country') == 'Region' or request.POST.get('external') == 'DiscordTag': - return json_response("I'm laughing right now.") - if len(request.POST.get('avatar')) > 255: return json_response('Avatar is too long (length '+str(len(request.POST.get('avatar')))+', max 255)') if request.POST.get('email') and not request.POST.get('email') == 'None': diff --git a/static/darkness.css b/static/darkness.css deleted file mode 100644 index bcb10a3..0000000 --- a/static/darkness.css +++ /dev/null @@ -1,501 +0,0 @@ -#sidebar-profile-body .nick-name, .news-list .nick-name, .list-content-with-icon-and-text .nick-name a, .user-name a { - color: #fff !important; -} -.post-permalink-button:hover, .favorite-community-link.symbol, .trigger:active, #wrapper, #reply-content button.more-button:hover, .spoiler-button:hover, #sidebar-profile-status, #guide-menu:hover, .community-eyecatch-info:hover, #community-favorite:hover, #reply-content .list > li.my:hover, .big-button:hover, .sidebar-setting a:hover, .multi-timeline-post-list .post.hidden .screenshot-container, .multi-timeline-post-list .post .screenshot-container, .trigger:hover, .textarea-container .community-container, .post-form-album-content, .admin-messages .post.my, #identified-user-banner:hover, .sidebar-setting a.selected, .sidebar-container h4 a:hover, #empathy-content, .sidebar-profile .profile-comment, .post-list .recent-reply-content, .community-name .owner, .post-list-heading-button, .topic-title-input, .textarea, .yeah-button, .hidden-content-button, .community-description { - background-color: #161616 !important; -} -body, .favorite-community-link.symbol:hover, .post.hidden:hover, .filtering-label, .post-list .recent-reply-content .recent-reply:hover, .post-list .recent-reply-content .recent-reply-read-more-container:hover, .arrow-button:hover, #post-diary-window, .spoiler-button, .textarea-line, .dialog .window-body, .digest .post .icon-container, .icon-container .icon, #sidebar-profile-body .icon, .sidebar-container, .post .community-container, #global-menu #global-my-menu, .guest#post-permlink .guest-message p, form.search input[type="text"], form.search input[type="submit"], .warning-content, .community-card-list > li, .post-permalink-button { - background-color: #202020 !important; -} -body, .community-title, #footer-selector li button, #footer-inner p a, .post-list.empty, .album-list.empty, .list > .no-content, .no-content, .community-game-title, .arrow-button, .post .hidden-content button, .post .deleted-message button, .post .hidden_as_violation button, .post .hidden-content a, .post .deleted-message a, .post .hidden_as_violation a, .post .community-container-heading a, .list-content-with-icon-and-text .text, .list-content-with-icon-and-text .id-name, #sidebar-profile-body .id-name, #post-diary-window p, .sidebar-container h4 a, .post-list .empathized-user-name, .post-list .acted-user-name, .post-list .recommend-user-title, .headline h2, #post-content .post-content-text, #global-menu li a, #global-menu li button, #sidebar-profile-status .number, .community-name, .community-name a, .community-list .title, .sidebar-setting .sidebar-menu-relation:before, #reply-content button.more-button, .sidebar-profile .profile-comment, .guest#post-permlink .guest-message p, form.search input[type="text"], .community-name .owner, .post-list-heading-button, .topic-title-input, .textarea, .yeah-button, .post-permalink-button, .hidden-content-button, .community-description { - color: #ccc !important; -} -input[type=text], input[type=password], input[type=email], input:not([type]), select { - background-color: #202020; - color: #fff; - border: 1px solid #000; - box-shadow: 0 1px 0 rgba(0, 0, 0, 0); -} -.guest .guest-message p { - color: #ccc; - background: #464646; -} -.guest-message .arrow-button { - border-top: 1px solid #000 !important; -} -.delete { - color: #ccc; -} -.delete:hover { - color: #202030 !important; -} -.spoiler-button, .textarea-line { - border: 1px solid #000; - box-shadow: 0 1px 0 rgba(0, 0, 0, 0); -} -.file-button-container, .file-button { - background-color: #151313 !important; - color: #fff; -} -.post-form-album-content { - border: 1px solid #000; -} -.post-form-album-content:before { - border-bottom-color: #000; -} -#sidebar-cover { - border-bottom: 1px solid #000; -} -.post-list-heading-button { - border: 1px solid #000; - border-bottom-color: #000; -} -#global-menu li.selected a { - color: #0080ff !important; -} -.follow-done-button:after { - content: 'ing'; -} -button.unfollow-button.button.symbol:after { - content: 'ing'; -} -.filtering-label .button { - border-left: 1px solid #000; -} -.mask { - background: rgba(0, 0, 0, 0.6); -} -.post-list-heading-button:hover { - background: rgb(35, 35, 35); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.topic-title-input, .textarea { - border: 1px solid #000; - box-shadow: inset 0 2px 6px rgba(0,0,0,0.12), 0 1px 0 #211e1e; -} -.hidden-content-button { - border: 1px solid #000; - border-bottom-color: #000; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.hidden-content-button:hover { - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0), 0 2px 4px rgba(0,0,0,0.1); -} -.yeah-button { - border: 1px solid #000; - border-bottom-color: #000; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.yeah-button:hover { - background: rgb(35, 35, 35); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.yeah-button:disabled:hover { - background: #161616; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.setting-form li { - border-bottom: 1px solid #000; -} -form.search input[type="submit"] { - color: #646464; -} -.sidebar-setting .sidebar-menu-relation:before { - color: #000; -} -.community-list-cover { - border-bottom: 1px solid #000; -} -.simple-wrapper.simple-wrapper-content #wrapper { - margin: 0px auto 0; -} -.simple-wrapper.simple-wrapper-content #main-body { - border: 1px solid rgba(21, 20, 20, 0) !important; -} -.warning-content { - border: 1px solid rgb(0, 0, 0); -} -.community-eyecatch-balloon { - color: #CCCCCC; - background: rgb(32, 32, 32); -} -.community-eyecatch-balloon:after { - border-color: transparent rgb(32, 32, 32) rgba(0, 0, 0, 0) transparent; -} -.post-body .multi-timeline-post-list .post-subtype-artwork .hidden-content { - background-color: #161616; - border-top: 1px dashed #000; -} -.community-list .siblings { - color: #969696; - border-left: 1px solid #000; -} -.post-list > .post-list-outline { - border-top: 1px solid rgb(0, 0, 0); -} -#main-body > .no-content { - background: #202020 none repeat scroll 0% 0%; - border: 1px solid #000; - box-shadow: 0px 1px 0px #000; -} -.notify { - background: #424242 !important; -} -.tab2 a, .tab3 a { - background-color: #202020; - background: -webkit-gradient(linear, left top, left bottom, from(#202020), to(#202020), color-stop(0.5, #202020)); - background: -webkit-linear-gradient(top, #202020 0%, #202020 50%, #202020 100%); - background: -moz-linear-gradient(top, #202020 0%, #202020 50%, #202020 100%); - background: -ms-linear-gradient(top, #202020 0%, #202020 50%, #202020 100%); - background: -o-linear-gradient(top, #202020 0%, #202020 50%, #202020 100%); - background: linear-gradient(top, #202020 0%, #202020 50%, #202020 100%); - color: #CCCCCC; - border: 1px solid #000; - border-bottom-color: #000; -} -.album-dialog .album-close-button { - background: -webkit-linear-gradient(bottom, #202020, #202020); - border: 1px solid #000000; -} -.tab2 a:hover, .tab3 a:hover { - background: #161616; - -webkit-box-shadow: inset 0 1px 0 #161616, 0 2px 4px rgba(22, 22, 22, 0); - -moz-box-shadow: inset 0 1px 0 #161616, 0 2px 4px rgba(22, 22, 22, 0); - -ms-box-shadow: inset 0 1px 0 #161616, 0 2px 4px rgba(22, 22, 22, 0); - -o-box-shadow: inset 0 1px 0 #161616, 0 2px 4px rgba(22, 22, 22, 0); - box-shadow: inset 0 1px 0 #161616, 0 2px 4px rgba(22, 22, 22, 0); -} -.tab2 > a:first-child, .tab3 > a:first-child { - border-left: 1px solid #000; -} -.community-eyecatch-infoicon { - border: 1px solid #000; -} -.open-topic-post-existing-warning { - background-color: rgb(32, 32, 32); -} -.open-topic-post-existing-warning .content { - border: 2px solid #E8316E; -} -.list .toggle-button .button:before { - color: #CCC; - width: 30px; - height: 34px; - border: 1px solid #000; - border-bottom-color: #000; - box-shadow: inset 0 0.5px 0 rgba(0, 0, 0, 0.9); -} -.topic-categories-container { - background: #202020; - -webkit-box-shadow: 0 1px 0 #202020; - -moz-box-shadow: 0 1px 0 #202020; - -ms-box-shadow: 0 1px 0 #202020; - -o-box-shadow: 0 1px 0 #202020; - box-shadow: 0 1px 0 #202020; -} -.button { - border: 1px solid rgb(0, 0, 0); - border-bottom-color: #000; - background: #202020; - color: #ccc; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.button:hover { - background: #161616; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0); -} -.post-list a.another-posts { - background-color: rgba(0, 0, 0, 0.04); - border-top: 1px solid #000; - color: #ccc; -} -.sidebar-setting li { - border-top: 1px solid #000; -} -.community-list .icon-container .icon { - border: 1px solid #000; -} -#sidebar-profile-status li a > span { - display: block; - border-right: 1px solid #202020; -} -#global-menu li#global-menu-mymenu .icon-container img { - border: 1px solid #000; - width: 36px; - height: 36px; -} -#global-menu #global-my-menu { - border: 2px solid #000; -} -#global-menu #global-my-menu:before { - border-color: transparent; - border-bottom-color: #000; -} -#global-menu #global-my-menu:after { - border-color: transparent; - border-bottom-color: #202020; -} -.list-content-with-icon-and-text li { - border-top: 1px solid #000; -} -.filter-button { - color: #ccc; - background-color: rgb(32, 32, 32); - border: 1px solid rgb(0, 0, 0); -} -.filter-button:hover { - background-color: rgba(22,22,22,1); - color: #696666; -} -#community-eyecatch-main > div { - background: #202020; - border: 1px solid rgb(0, 0, 0); -} -#guide-menu { - background: #202020; - border: 1px solid rgb(0, 0, 0); -} -#guide-menu .arrow-button { - border-top: 1px solid #000; -} -#community-favorite { - background: #202020; - border: 1px solid rgb(0, 0, 0); -} -#identified-user-banner { - background: #202020; - border: 1px solid rgb(0, 0, 0); -} -.digest .post .body { - background: #202020; - border: 1px solid rgb(0, 0, 0); -} -.digest .post .body:after { - border-color: transparent #202020 transparent transparent; -} -.digest .post .body:before { - border-color: transparent #000 transparent transparent; -} -.digest .post .community-container { - border: 1px solid #000; - border-top: 1px solid #000; -} -.accepting > span { - background-color: rgba(255, 247, 179, 0); - color: #e33ea2; -} -.accepting > span:before { - color: #f90047; -} -.not-accepting > span { - background-color: rgba(255, 247, 179, 0); - color: #969696; -} -.not-accepting > span:before { - color: #FF0000; -} -.guest#post-permlink .guest-message .arrow-button { - border-top: 1px solid #000; -} -.community-card-list > li { - border: 1px solid rgba(0, 0, 0, 0.1); - border-color: #000; -} -#sub-body { - background: #202020; - border-bottom: 2px solid #000; - box-shadow: 0 0 15px #000; -} -.content-loading-window.activity-feed img { - visibility: hidden; - width: 22px; - height: 22px; -} -.post-form-album-content:after { - border-bottom-color: #1a1a1a; -} -.pager-button { - background: #1A1A1A; -} -.pager-button .back-button { - border-right: 1px solid #000; -} - -.pager-button .next-button { - border-left: 1px solid #000; -} -.pager-button .button { - color: #969696; - background-color: #313131; -} -.guest #about { - background: #202020; - border-bottom: 2px solid #000; -} -.guest .guest-terms-link:hover { - background-color: #E64E25; -} -.tutorial-window { - background-color: rgb(32, 32, 32); -} -.post-list .recent-reply-content { - border-top: 1px solid #000; -} -.post-list .recent-reply-content .recent-reply-read-more-container { - border-bottom: 1px solid #000; -} -h2.label-diary_post, h2.label-diary { - border-bottom: 3px solid #04c9db; - color: #00b7d8; -} -h2.label-artwork_post, h2.label-artwork { - border-bottom: 3px solid #fcc735; - color: #ffae00; -} -h2.label-topic_post, h2.label-topic { - border-bottom: 3px solid #e8316e; - color: #e8316e; -} -.post-list-outline { - background: #202020; - border: 1px solid rgb(0, 0, 0); - -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -ms-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -o-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); -} -.post .community-container { - border-bottom: 1px solid #000; -} -.list > li, .list > div, .list > a, .list > span { - border-top: 1px solid #000; -} -.list > li span { - padding: 5px!important; -} -#sidebar-community .sidebar-setting a { - border-top: 1px solid #000; -} -.sidebar-container { - border: 1px solid rgb(0, 0, 0); - -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -ms-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -o-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); -} -.big-button { - background: #fff; - border: 1px solid rgb(0, 0, 0); - -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -ms-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - -o-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2); - background-color: #202020; - color: #ccc; -} -form.search { - background: #fff; - border: 2px solid #000; -} -.sidebar-setting a { - color: #ccc; - border-top: 1px solid #000; -} -.user-data .note { - border-bottom: 2px dashed #161616; - color: #ccc; -} -#footer { - background-color: #1d1d1d; -} -#sidebar-profile-body .icon { - border: 1px solid #000; -} -.icon-container .icon { - border: 1px solid #000; -} -.digest .post .icon-container { - border: 1px solid rgb(0, 0, 0); -} -#empathy-content .post-permalink-feeling-icon img { - border: 1px solid #000; - background: transparent; -} -#empathy-content.none + .buttons-content { -border-top: 1px solid #222; -} -#empathy-content { - border: 1px solid #000; -} -#reply-content button.more-button { - border: #000; -} -.messages .post.my, -#reply-content .list .my { - background-color: #191818; -} -#reply-content .info-reply-list + button.more-button, #reply-content .more-button + .more-button { - border-top: 1px solid #000; -} -.dialog .window-body { - border: 1px solid #050207; -} -#post-form + #community-post-list .list > div:first-child { - border-top: 1px solid #000; -} -.user-community .icon-container .user-icon { - background: rgba(255, 255, 255, 0); - border: 1px solid rgba(221, 221, 221, 0); -} -#wrapper, #image-header-content { - background-image: url(/s/img/op.png) !important; -} -#empathy-content:before { - background: url(/s/img/rks.png) no-repeat 0 0 !important; -} -.community-switcher .community-switcher-tab { - background-color: #202030; - background: -webkit-gradient(linear, left top, left bottom, from(#202030), to(#202030), color-stop(0.5, #202030)); - background: -webkit-linear-gradient(top, #202030 0%, #202030 50%, #202030 100%); - background: -moz-linear-gradient(top, #202030 0%, #202030 50%, #202030 100%); - background: -ms-linear-gradient(top, #202030 0%, #202030 50%, #202030 100%); - background: -o-linear-gradient(top, #202030 0%, #202030 50%, #202030 100%); - background: linear-gradient(top, #202030 0%, #202030 50%, #202030 100%); - border: 1px solid black; - color: #fff; -} -.community-switcher .community-switcher-tab:first-of-type { - border-left: 1px solid black; -} -code, -pre { -border: 1px solid #404040 !important; -color: #CCC !important; -background-color: #191818 !important; -} -@media screen and (max-width: 980px) { - #global-menu #global-menu-list > ul > li > a:hover { - background-color: #333 !important; - } - #global-menu #global-menu-list > ul > li#global-menu-my-menu button:hover { - background-color: #333 !important; - } -} -html::-webkit-scrollbar { - width: 10px; - height: 10px; -} -html::-webkit-scrollbar-thumb { -background-color: #3c3c3c; -} -html::-webkit-scrollbar-track { -background: #000; -} -html::-webkit-scrollbar-corner { -background: transparent; -} - -/*--------Mostly all of the dark theme was made by CodyMKW, please make sure he's noticed--------*/ \ No newline at end of file diff --git a/static/fedora.png b/static/fedora.png deleted file mode 100644 index 3ba94709e695c9bf1311f3795c4c48160b1685b0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2774 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 diff --git a/static/old.css b/static/old.css deleted file mode 100644 index 73f420b..0000000 --- a/static/old.css +++ /dev/null @@ -1,75 +0,0 @@ -@charset "utf-8"; - -body { position: relative; font-size: 28px; font-family: sans-serif; line-height: 1.5; margin: 0px; padding: 0px; color: rgb(50, 50, 50); background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwBAMAAADMe/ShAAAAHlBMVEX29vb09PTy8vL19fXz8/Px8fHw8PDv7+/u7u739/dHdNvrAAACSElEQVR4AezYNX7DMBiGcafcKTRlC0hdy7T1Z7iAcS5YOkEl38DeQlNOW24YX63fsxr+Ztm2RmvjMiu2bWbOXPmjtW2A7S8YKlfMCK4lKPzeMoJvYhROHYIJno9gggkmmGCCCSaYYIIJJphgggkmGP/PZQZf4XDHCK5JFFYtE7hXkwWYap0awEMPh8NHA7jPNQprv2EAH5zh8MsTDo9vY/xGxuCeLXFYsVMY7nNZwCm/AcM3scZhnTooPBwfafBYP4JwiZvBfgWDh7Xxkc71DmXjY916hOAbLrMxK7ZuTOfKdxC4ZMf6z1Ui2iEh/2Sdssru8L4dy+zXFVGbuVtntyPxK+cqZRc7wr1Ll0v95/qser1DVZv/yVr5bv10Bczq+ML4Rl/als/ww4WfJptbwuACMbgwhaUVfkvgt6LU1icpdkAAAADAEEz/1EKshHOBgMAnwZ7gNgG9DEwybTKpyZiLRCT6ItqUCJuIYqKoosaJlEsMJBki+ZOElwRfkpqSuElcS9Qnd4LcGN3enRUACMRQDFSDJRzg3wIKuNnNzygYA83rGbx9g1cwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPB/bFgfx7ZH4TWJ7DB0W9w5hwcdgen7MHxfp8r9IFGkKQEEU6WHWWhVZaWZTFdlg9mwWSdiAZRbJABB+FzkHoHcXuQ82cDBtlkQzVSkc1yZEMk2fRKNjZTzetkg0LlhJK1KjAYDAaDwWAwGAwGg8FgcAD3L/H6J4DLS/j67eEOl9GYoKbAV2YAAAAASUVORK5CYII=") rgb(238, 238, 238); } - -h1, h2, h3, h4, h5, h6, p, ul, ol, menu, li, table, tr, th, td { font-size: 100%; font-weight: normal; margin: 0px; padding: 0px; } - -ul, ol, menu, li { list-style: none; } - -a { color: rgb(0, 110, 255); text-decoration: none; } - -img { border: 0px; color: rgb(221, 221, 221); } - -body { font-size: 14px; text-align: center; text-size-adjust: 100%; overflow-wrap: break-word; background: rgb(226, 226, 226); } - -html, body { height: 100%; } - -#wrapper { min-height: 100%; position: relative; width: 100%; min-width: 320px; margin: auto 0px; text-align: left; background-color: rgb(244, 244, 244); background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAArUlEQVQoFYWQuwrCQBBFd42FlaYQRMRCO3vBNpA/8HNtBbt04gcItnaKoLKegRnYTRYzcLjzuLNh4kMILooh+SeqO6kYJOawhzE0cIBsDLRboRPwsIUFZMMWTM1UWNJWMx4ZPHV4Rq9to9U+OlpeHcHDhjmNF3LzHc01yBdPEOwvkXdiQ6fW7gp9QWM3aD+RWVI5N5X638KF+VuXvqjUru+GEs8SbnCH3gXxJPEDtBsiPW8IwCQAAAAASUVORK5CYII="); background-attachment: fixed; height: auto !important; } - -#main-body { padding: 71px 0px 170px; max-width: 960px; margin: 0px auto; } - -#main-body::after { content: ""; display: block; clear: both; } - -#footer { background: rgb(226, 226, 226); position: absolute; bottom: 0px; left: 0px; width: 100%; } - -.simple-wrapper { background-color: rgb(244, 244, 244); background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAArUlEQVQoFYWQuwrCQBBFd42FlaYQRMRCO3vBNpA/8HNtBbt04gcItnaKoLKegRnYTRYzcLjzuLNh4kMILooh+SeqO6kYJOawhzE0cIBsDLRboRPwsIUFZMMWTM1UWNJWMx4ZPHV4Rq9to9U+OlpeHcHDhjmNF3LzHc01yBdPEOwvkXdiQ6fW7gp9QWM3aD+RWVI5N5X638KF+VuXvqjUru+GEs8SbnCH3gXxJPEDtBsiPW8IwCQAAAAASUVORK5CYII="); background-attachment: fixed; border: 0px; } - -.simple-wrapper #wrapper { margin-top: 0px; } - -.simple-wrapper #main-body { border: 0px; background: transparent; } - -.simple-wrapper.simple-wrapper-content #wrapper { margin: 50px auto 0px; } - -.simple-wrapper.simple-wrapper-content #main-body { padding: 0px; } - -.simple-wrapper.simple-wrapper-content #footer { background-color: transparent; position: static; text-align: center; width: auto; display: block; } - -html:lang(ja) body { font-family: Helvetica, Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, sans-serif; } - -html body { font-family: Helvetica, Arial, sans-serif; } - -.closed-container { background: rgb(255, 255, 255); border: 1px solid rgba(0, 0, 0, 0.1); overflow: hidden; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 0px; border-radius: 5px; min-height: 300px; max-width: 625px; margin: 20px auto; display: table; padding: 0px; color: rgb(100, 100, 100); font-size: 16px; text-align: center; } - -.closed-container .closed-content { display: table-cell; vertical-align: middle; width: 900px; padding: 30px; } - -.closed-container .closed-content p { padding: 20px 0px; text-align: left; } - -.closed-container .closed-content .mosaic { margin: 0px auto; width: 80%; } - -.closed-container .closed-content .mosaic img { width: 100%; } - -.closed-container .closed-content .mosaic p { font-size: 14px; } - -.closed-container .closed-content .logo { max-width: 200px; padding: 10px 0px; } - -.closed-container .closed-content .notice { text-align: left; font-size: 14px; } - -.closed-container .closed-content .notice h2 { text-align: center; clear: both; padding: 5px 10px 3px; margin-top: 1em; background: rgb(90, 200, 0); color: rgb(255, 255, 255); border-radius: 5px; } - -.closed-container .closed-content .notice ul { list-style: none; margin: 10px 30px; } - -.closed-container .closed-content .notice ul li::before { content: "●"; margin: 0px 0.2em 0px -0.9em; } - -@media screen and (max-width: 980px) { - body { border-top-width: 4px; } - #wrapper { width: 100%; } - #main-body { margin: 0px auto; max-width: 625px; padding-right: 5px; padding-left: 5px; } -} - -@media screen and (max-width: 660px) { - #wrapper { min-width: 320px; } - #main-body { max-width: 480px; } - .simple-wrapper #wrapper { width: auto; margin-top: 0px; } - .simple-wrapper.simple-wrapper-content #wrapper { margin: 20px 10px 0px; } - .simple-wrapper.simple-wrapper-content #main-body { border: none; } -} diff --git a/static/redhat.png b/static/redhat.png deleted file mode 100644 index 776a24f158a3433abc9d53da0a5fe5d353a73fec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1002 zcmb8q|5K6&9Ki7phz!gx4^k6R;!*I+A?m}~x@j|?6a-n!$9bphiv>%`x@4R)%eLvG zGKOC^FjL7)G|lN|(U(ovg(8|}%O$tYZFzWeyRvP!)AX)9@0#xX6ZZQ3{li~@F4@t4J7x7(LU(qgfYBw1Be<`^gLE zTiZKjJM^)9k&7SqP@rc|)Yw|8X0CrSJhY&op3n*+6651Vd}rK>4wwm5G`1 z!~XjQ>$_D9N?^E<>g&O!jcmj$Hhf%D`&P4r8yo#*5bm2+6>4Gc|V<@4yuqAb0#!B|K{)3hU1tmVprXt z@A->=ZQ<_t91E5gt^6K+NRv@$>Lqpu57`-6ouJH`HG39W`4VkWSmbLtGODb7vM)Q9 zl{2Zz=HNitrDB>I=+8H#I`KKTi4opmjb;UwS*4fcLM}(qcztA7qEgA?d#QsK_ms4myJOyc@m(9<+DX%!+ zy>rDW`r$sy8o5aJW%^&MzRIvkzG2s`l|p}i=W!|2>8&M~{X%Khfg6=W4cQ3n`wwHF Bfad@J