This commit is contained in:
Hao Tran 2024-02-19 23:16:04 -05:00
commit 828d4776e0
5 changed files with 68 additions and 0 deletions

10
LICENSE Normal file
View File

@ -0,0 +1,10 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
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 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.
For more information, please refer to <http://unlicense.org/>

22
README.md Normal file
View File

@ -0,0 +1,22 @@
# Style Sheet for Salty Bet
A custom style sheet providing a compact view of [Salty Bet](http://www.saltybet.com/) which is intended to be used for watching events in a narrow browser window, such as when a monitor is used in vertical orientation.
## Screenshots
### Default View
![](https://forge.haothitran.com/KlazHTT/style-sheet_salty-bet/raw/branch/main/assets/screenshot_default.png)
### Custom Stylesheet
![](https://forge.haothitran.com/KlazHTT/style-sheet_salty-bet/raw/branch/main/assets/screenshot_styke.png)
## Installation
1. Ensure your browser has a style sheet manager or editor installed.
- Recommended: [Stylus](https://github.com/openstyles/stylus)
- *Note: I have no affiliation with listed browser extensions/add-ons.*
2. Create new style rule:
- URL: `https://www.salty-bet.com/`
- Copy and paste code from `style.css`
- Save and apply style rule.
3. Visit [Salty Bet](http://www.saltybet.com/) where new style should be applied.

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
assets/screenshot_style.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

36
style.css Normal file
View File

@ -0,0 +1,36 @@
/* -----------------------------------------------------------------------------
-- // STYLE SHEET FOR SALTY BET
----------------------------------------------------------------------------- */
#stream {
top: 43px !important;
right: 30% !important;
bottom: 220px !important;
left: 0 !important;
width: 70% !important;
max-width: none !important;
}
#chat-wrapper {
top: 0 !important;
width: 30% !important;
height: 82% !important;
margin-top: 43px !important;
font-size: 12px !important;
}
#sbettorswrapper {
position: absolute !important;
top: 82% !important;
left: 70% !important;
margin-top: 40px !important;
width: 30% !important;
font-size: 14px !important;
}
#bottomcontent {
right: 30% !important;
bottom: 43px !important;
left: 0 !important;
width: 70% !important;
}