mirror of
https://github.com/Mistake35/Cedar-Django.git
synced 2026-07-17 16:11:14 +10:00
Cutting away the fat
Removed the gender selection thing as it was pointless, also trimmed the fat for the MOTDs and welcome messages.
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
{% if user.is_warned %}
|
||||
<div class="notice" style="background-color: #ffc783;border: 1px solid #ffb358;">
|
||||
<p><b>WARNING</b>: You have been issued a warning by an administrator. No features have been restricted, as this is just a warning.
|
||||
<p><b>WARNING</b>: You have been issued a warning by an administrator.
|
||||
<div>
|
||||
{% if user.get_warned_reason %}
|
||||
<p>Reason: "{{ user.get_warned_reason }}"</p>
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if availablemotds and request.user.is_authenticated %}
|
||||
{% if mesoftheday and request.user.is_authenticated %}
|
||||
<div class="post-list-outline index-memo">
|
||||
<h2 class="label">MOTD / News</h2>
|
||||
{% for mesoftheday in mesoftheday %}
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if availablemes and not request.user.is_authenticated %}
|
||||
{% if welmes and not request.user.is_authenticated %}
|
||||
<div class="post-list-outline index-memo">
|
||||
<h2 class="label">Welcome to Cedar!</h2>
|
||||
{% for welmes in welmes %}
|
||||
@@ -42,9 +42,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if request.user.c_tokens > 0 %}<a class="big-button" href={% url "main:community-create" %}><span class="symbol-label">Create a community</span></a>{% endif %}
|
||||
<!--
|
||||
<iframe src="https://discord.com/widget?id=1001294283040620665&theme=dark" height="300" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
|
||||
-->
|
||||
{% if availableads %}
|
||||
<div class="adx">
|
||||
<h3>User-Generated Ad</h3>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{% extends "closedverse_main/layout.html" %}{% block main-body %}{% load closedverse_community %}
|
||||
{% community_sidebar community request %}
|
||||
<div class="main-column">
|
||||
{% if user.is_warned and user.is_authenticated and user.is_active %}
|
||||
{% if user.is_warned %}
|
||||
<div class="notice" style="background-color: #ffc783;border: 1px solid #ffb358;">
|
||||
<p><b>WARNING</b>: You have been issued a warning by an administrator. No features have been restricted, as this is just a warning.
|
||||
<p><b>WARNING</b>: You have been issued a warning by an administrator.
|
||||
<div>
|
||||
{% if user.get_warned_reason %}
|
||||
<p>Reason: "{{ user.get_warned_reason }}"</p>
|
||||
@@ -22,4 +22,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -172,14 +172,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if profile.gender_is %}
|
||||
<div class="data-content">
|
||||
<h4><span>Gender</span></h4>
|
||||
<div class="note">
|
||||
<span>{{ profile.get_gender_is_display }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if profile.external %}
|
||||
<div class="data-content">
|
||||
<h4><span>Discord Tag</span></h4>
|
||||
|
||||
@@ -136,26 +136,6 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p class="settings-label"><label for="gender_select">Are you a girl, boy or something else?</label></p>
|
||||
<div class="select-content">
|
||||
<div class="select-button">
|
||||
<select name="gender_select" id="gender_select">
|
||||
<option value="0"{% if profile.gender_is == 0 %} selected{% endif %}>I don't know</option>
|
||||
<option value="1"{% if profile.gender_is == 1 %} selected{% endif %}>Girl</option>
|
||||
<option value="2"{% if profile.gender_is == 2 %} selected{% endif %}>Boy</option>
|
||||
<option value="3"{% if profile.gender_is == 3 %} selected{% endif %}>Minion</option>
|
||||
<option value="4"{% if profile.gender_is == 4 %} selected{% endif %}>Toaster</option>
|
||||
<option value="5"{% if profile.gender_is == 5 %} selected{% endif %}>Dino</option>
|
||||
<option value="6"{% if profile.gender_is == 6 %} selected{% endif %}>Truck</option>
|
||||
<option value="7"{% if profile.gender_is == 7 %} selected{% endif %}>Robot</option>
|
||||
<option value="8"{% if profile.gender_is == 8 %} selected{% endif %}>Monkey</option>
|
||||
<option value="9"{% if profile.gender_is == 9 %} selected{% endif %}>Big chungus</option>
|
||||
<option value="10"{% if profile.gender_is == 10 %} selected{% endif %}>Other</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p class="settings-label"><label for="yeahs_visibility">Who should be able to see your Yeahs given?</label></p>
|
||||
|
||||
@@ -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':
|
||||
|
||||
@@ -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--------*/
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB |
@@ -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; }
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1002 B |
Reference in New Issue
Block a user