Split away from table

This commit is contained in:
Andrew Novac
2022-12-12 10:52:17 -05:00
parent 30be7d8498
commit 3a001e8ff1
4 changed files with 11 additions and 21 deletions

View File

@@ -1,17 +1,10 @@
<table width="100%"> &nbsp;<div align="center">
<tr> [![Spotify](https://novatorem.vercel.app/api/spotify?background_color=0d1117&border_color=ffffff)](https://open.spotify.com/user/omnitenebris)
<td width="50%"> </div>
&nbsp; <br> [![Spotify](https://novatorem.vercel.app/api/spotify?background_color=0d1117&border_color=ffffff)](https://open.spotify.com/user/omnitenebris) &nbsp;<div align="center">
This repository is [unlicense](https://choosealicense.com/licenses/unlicense/)[d], feel free to fork!<br><br>
</td> [![Linkedin](https://img.shields.io/badge/linked-in-369?style=flat-square&logo=linkedin&logoColor=white&color=blue)](https://www.linkedin.com/in/andrew-novac)
<td width="50%"> [![E-Mail](https://img.shields.io/badge/email-reveal-2a8?style=flat-square&logo=gmail&logoColor=white)](https://mail.novac.dev/)
[![Visits](https://komarev.com/ghpvc/?username=novatorem&logo=GitHub&label=github%20visits&color=336699&logoColor=white&style=flat-square)](https://github.com/novatorem)
&nbsp;<p align="center">This repository is [unlicense](https://choosealicense.com/licenses/unlicense/)[d], feel free to fork!<br><br> </div>
[![Linkedin](https://img.shields.io/badge/linked-in-369?style=flat-square&logo=linkedin&logoColor=white&color=blue)](https://www.linkedin.com/in/andrew-novac)
[![E-Mail](https://img.shields.io/badge/email-reveal-2a8?style=flat-square&logo=gmail&logoColor=white)](https://mail.novac.dev/)
[![Visits](https://komarev.com/ghpvc/?username=novatorem&logo=GitHub&label=github%20visits&color=336699&logoColor=white&style=flat-square)](https://github.com/novatorem)
</p>
</td>
</table>

View File

@@ -5,7 +5,7 @@ import requests
from base64 import b64encode from base64 import b64encode
from dotenv import load_dotenv, find_dotenv from dotenv import load_dotenv, find_dotenv
from flask import Flask, Response, jsonify, render_template, templating, request from flask import Flask, Response, render_template, request
load_dotenv(find_dotenv()) load_dotenv(find_dotenv())
@@ -96,7 +96,7 @@ def getTemplate():
templates = json.loads(file.read()) templates = json.loads(file.read())
return templates["templates"][templates["current-theme"]] return templates["templates"][templates["current-theme"]]
except Exception as e: except Exception as e:
print(f"Failed to load templates.") print(f"Failed to load templates.\r\n```{e}```")
return FALLBACK_THEME return FALLBACK_THEME

View File

@@ -3,7 +3,6 @@
<div xmlns="http://www.w3.org/1999/xhtml" class="container"> <div xmlns="http://www.w3.org/1999/xhtml" class="container">
<style> <style>
.main { .main {
/*margin-top: 40px;*/
display: flex; display: flex;
} }
@@ -63,8 +62,6 @@
} }
#bars { #bars {
width: 40px;
height: 30px;
bottom: 23px; bottom: 23px;
position: absolute; position: absolute;
margin: -20px 0 0 0px; margin: -20px 0 0 0px;

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB