This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from PIL import Image, ImageDraw, ImageFont, ExifTags, ImageOps | |
from colorthief import ColorThief | |
MODE = 1 | |
border_rat = 0.1 | |
bold_rat = 0.05 | |
sub_rat = 0.0275 | |
cour_rat = 0.02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.theme-dark, | |
.theme-light, | |
:root { | |
--background-tertiary: #1e1f29 !important; | |
--background-secondary-alt: #44475a !important; | |
--background-secondary: #1e1f29 !important; | |
--background-primary: #282a36 !important; | |
--background-accent: #44475a !important; | |
--background-floating: #1e1f29 !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"); | |
body { | |
background-color: #282a36; | |
font-family: 'Roboto', sans-serif; | |
} | |
.nav-link { | |
font-weight: 900; | |
font-style: italic; | |
text-decoration: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randint | |
board = [] | |
for x in range(5): | |
board.append(["O"] * 5) | |
def print_board(board): | |
for row in board: | |
print " ".join(row) |