mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-17 22:20:22 -04:00
add blerplate
This commit is contained in:
parent
d51c32f029
commit
d32e821bd7
9 changed files with 323 additions and 3 deletions
45
dash_app/wrappers/style.py
Normal file
45
dash_app/wrappers/style.py
Normal file
|
@ -0,0 +1,45 @@
|
|||
# -*- coding: utf8 -*-
|
||||
# Define dashboard styling
|
||||
|
||||
# -----------------------------
|
||||
# --- Titles and strings ------
|
||||
# -----------------------------
|
||||
title_h1 = 'Big Title'
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# --- elements ids ------------
|
||||
# -----------------------------
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# --- CSS style dictionaries --
|
||||
# -----------------------------
|
||||
|
||||
color_palette = ['#052a4e', # dark blue
|
||||
'#fd8283', # light red
|
||||
'#e4faff'] # light blue
|
||||
|
||||
style_all = {'margin':'auto',
|
||||
'padding':20,
|
||||
'width':'95%',
|
||||
'fontFamily':'helvetica',
|
||||
'fontSize':'14',
|
||||
'color':color_palette[0],
|
||||
'background':color_palette[2],
|
||||
}
|
||||
|
||||
style_title_h1 = {'textAlign':'left',
|
||||
'color':color_palette[1],
|
||||
'font-weight':'bold',
|
||||
'fontSize':'32',
|
||||
'text-transform':'uppercase',
|
||||
'padding':20,
|
||||
}
|
||||
|
||||
style_title_h2 = {'textAlign':'center',
|
||||
'font-weight':'bold',
|
||||
'text-transform':'uppercase',
|
||||
'fontSize':'20',
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue