diff --git a/blog.py b/blog.py index 973a169fc..68d0b55d2 100644 --- a/blog.py +++ b/blog.py @@ -185,9 +185,6 @@ def htmlBlogPost(authorized: bool, \ """ blogStr='' - #cssFilename=baseDir+'/epicyon-blog.css' - #if os.path.isfile(baseDir+'/blog.css'): - # cssFilename=baseDir+'/blog.css' cssFilename=baseDir+'/epicyon-profile.css' if os.path.isfile(baseDir+'/epicyon.css'): cssFilename=baseDir+'/epicyon.css' @@ -213,9 +210,9 @@ def htmlBlogPage(authorized: bool, session, \ return None blogStr='' - cssFilename=baseDir+'/epicyon-blog.css' - if os.path.isfile(baseDir+'/blog.css'): - cssFilename=baseDir+'/blog.css' + cssFilename=baseDir+'/epicyon-profile.css' + if os.path.isfile(baseDir+'/epicyon.css'): + cssFilename=baseDir+'/epicyon.css' with open(cssFilename, 'r') as cssFile: blogCSS=cssFile.read() blogStr=htmlHeader(cssFilename,blogCSS) @@ -330,9 +327,9 @@ def htmlBlogView(authorized: bool, \ """ blogStr='' - cssFilename=baseDir+'/epicyon-blog.css' - if os.path.isfile(baseDir+'/blog.css'): - cssFilename=baseDir+'/blog.css' + cssFilename=baseDir+'/epicyon-profile.css' + if os.path.isfile(baseDir+'/epicyon.css'): + cssFilename=baseDir+'/epicyon.css' with open(cssFilename, 'r') as cssFile: blogCSS=cssFile.read() blogStr=htmlHeader(cssFilename,blogCSS) diff --git a/epicyon-blog.css b/epicyon-blog.css deleted file mode 100644 index 8e6fdb4f3..000000000 --- a/epicyon-blog.css +++ /dev/null @@ -1,113 +0,0 @@ -@charset "UTF-8"; - -:root { - --main-bg-color: #282c37; - --dropdown-bg-color: #111; - --dropdown-bg-color-hover: #333; - --main-bg-color-reply: #212c37; - --main-bg-color-dm: #222; - --main-bg-color-report: #221c27; - --main-header-color-roles: #282237; - --main-fg-color: #dddddd; - --main-link-color: #999; - --main-visited-color: #888; - --border-color: #505050; - --font-size-header: 18px; - --font-color-header: #ccc; - --font-size-button-mobile: 34px; - --font-size: 30px; - --font-size2: 24px; - --font-size3: 38px; - --font-size4: 22px; - --font-size5: 20px; - --text-entry-foreground: #ccc; - --text-entry-background: #111; - --time-color: #aaa; - --button-text: #FFFFFF; - --button-background: #999; - --button-selected: #666; - --button-highlighted: green; - --button-selected-highlighted: darkgreen; - --button-approve: darkgreen; - --button-deny: darkred; - --button-height: 10px; - --button-height-padding-mobile: 20px; - --button-height-padding: 10px; - --gallery-border: #ccc; - --gallery-hover: #777; - --gallery-text-color: #ccc; - --gallery-font-size: 22px; - --gallery-font-size-mobile: 35px; - --button-corner-radius: 15px; - --timeline-border-radius: 30px; -} - -body, html { - background-color: var(--main-bg-color); - color: var(--main-fg-color); - - height: 100%; - font-family: "Times New Roman", Times, serif; - max-width: 80%; - min-width: 950px; - margin: 0 auto; - font-size: var(--font-size); -} - -a, u { - color: var(--main-fg-color); -} - -a:visited{ - color: var(--main-visited-color); - font-weight: bold; -} - -a:link { - color: var(--main-link-color); - font-weight: bold; -} - -H1 { - font-size: var(--font-size3); - font-weight: bold; - text-align: center -} - -H3 { - font-size: var(--font-size3); - text-align: center -} - -img { - border-radius: 5%; -} - -img:hover { - box-shadow: 0 0 2px 1px var(--gallery-hover); -} - -.about { - font-size: var(--font-size5); - float: right; -} - -.blogreplies { - color: var(--button-highlighted); - font-size: var(--font-size2); - float: right; -} - -.buttonprev { - float: left; - width: 10%; - -ms-transform: translateY(30%); - transform: translateY(30%); -} - -.buttonnext { - float: right; - width: 10%; - -ms-transform: translateY(30%) scaleX(-1); - transform: translateY(30%) scaleX(-1); -}