Try different css

main
Bob Mottram 2020-02-25 21:08:55 +00:00
parent 5f3f9744fd
commit d4aef34f44
3 changed files with 39 additions and 11 deletions

View File

@ -185,9 +185,12 @@ def htmlBlogPost(authorized: bool, \
"""
blogStr=''
cssFilename=baseDir+'/epicyon-blog.css'
if os.path.isfile(baseDir+'/blog.css'):
cssFilename=baseDir+'/blog.css'
#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)

View File

@ -79,6 +79,14 @@ H3 {
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;
@ -90,14 +98,6 @@ H3 {
float: right;
}
img {
border-radius: 5%;
}
img:hover {
box-shadow: 0 0 2px 1px var(--gallery-hover);
}
.buttonprev {
float: left;
width: 10%;

View File

@ -90,6 +90,31 @@ a:link {
position: relative;
}
.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);
}
.hero-image img {
width: 50%;
}