Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions sigma.css
Original file line number Diff line number Diff line change
Expand Up @@ -1359,9 +1359,9 @@ div#u-adult-warning > .error-block {
/* vim: set noet: */

/*
Fix for Wikidot error with displaying the 'Is username an abusive user' prompt,
when selecting the 'The User Is Abusive' option, due to a wikido typo
'unflad-user-abusive' is an intentional typo in this code.
Fix for Wikidot error with displaying the 'Is username an abusive user' prompt,
when selecting the 'The User Is Abusive' option, due to a wikido typo
'unflad-user-abusive' is an intentional typo in this code.
*/

.unflad-user-abusive {
Expand All @@ -1373,31 +1373,32 @@ div#u-adult-warning > .error-block {
}

/*
As of writing this, there is a bug in the SCP Wiki CDN causing the
As of writing this, there is a bug in the SCP Wiki CDN causing the
Sigma theme to occasionally not load on iOS devices. This bug can
be fixed by clearing the browser's cache.

As a consequence, an element will likely be added to the SCP Wiki's sidebar
informing users of this bug and directing them to fix it. In fact, by
the time you are reading this, it may have already been added.

However, we don't want this element to display if Sigma theme has loaded,
because if Sigma has loaded, then the user has fixed the bug on their device.

As such, the following CSS rule hides it. Specificity has been artificially
increased with an id selector and !important to counteract weird cases.
(e.g. an obscure SCP Wiki theme that applies 'display: block'
(e.g. an obscure SCP Wiki theme that applies 'display: block'
to everything in the sidebar)
*/

#side-bar .ios-cache-issue-notification {
display: none !important;
display: none !important;
}

/*
Make the page edit lock timer monospaced so it does not shift page layout
Make the page edit lock timer monospaced so it does not shift page layout
as it counts down.
*/

#lock-timer {
font-variant-numeric: tabular-nums;
}