Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit6c32e096ebb3e95b73adc09bb51fe5f2178a7e59 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-07-09 15:19:09 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-07-09 15:19:09 +0300
Files0950e37a0a7389362a8dd5a7feb27109378d6c2f /src/styles.css
syndamia.com-6c32e096ebb3e95b73adc09bb51fe5f2178a7e59.tar
syndamia.com-6c32e096ebb3e95b73adc09bb51fe5f2178a7e59.tar.gz
syndamia.com-6c32e096ebb3e95b73adc09bb51fe5f2178a7e59.zip
Parent02acf270c5c6724acde34a942edb323c85e2843d (diff)
(page-width.js,theme-changer.js) Replaced icons with text buttons
1 files changed, 16 insertions, 1 deletions
-rw-r--r--src/styles.css17
diff --git a/src/styles.css b/src/styles.css
index 04425e0..a917f5e 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -131,7 +131,6 @@ img {
.file-icon { min-width: 1.3em; vertical-align: text-bottom; }
.borderless, .oldschool-badge, .file-icon { border: none; }
- .setting-btn { border: none; vertical-align: middle; }
.btn:hover { cursor: pointer; }
/* image-show.js */
@@ -325,7 +324,23 @@ dt, dd {
border-bottom: none;
margin: 0.58em 0 1em 0;
font-size: 1.2em;
+ line-height: 1em;
+ /* Thanks https://stackoverflow.com/a/4407335/12036073 */
+ -webkit-touch-callout: none; /* iOS Safari */
+ -webkit-user-select: none; /* Safari */
+ -khtml-user-select: none; /* Konqueror HTML */
+ -moz-user-select: none; /* Old versions of Firefox */
+ -ms-user-select: none; /* Internet Explorer/Edge */
+ user-select: none;
}
+ .setting-btn {
+ font-size: 0.5em;
+ text-align: center;
+ display: inline-block;
+ line-height: 1em;
+ border: 1px solid var(--border-color);
+ padding: 0.2em 0.3em;
+ }
#footer {
font-size: 0.7em;
overflow-x: hidden;