diff --git a/youtube/static/message_box.css b/youtube/static/message_box.css new file mode 100644 index 0000000..72f4453 --- /dev/null +++ b/youtube/static/message_box.css @@ -0,0 +1,12 @@ +#message-box { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + border-style: outset; + padding: 20px; + background-color: var(--background); + opacity: 0; + transition-property: opacity; + transition-duration: 0.3s; +} diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 4d03c05..69b364b 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -3,7 +3,7 @@ - + {{ page_title }} diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html index 25b0971..7ac36d4 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -7,7 +7,8 @@ {% extends "base.html" %} {% import "common_elements.html" as common_elements %} {% block style %} - + + {% endblock style %} {% block main %} diff --git a/youtube/templates/home.html b/youtube/templates/home.html index 0adac56..ef1f029 100644 --- a/youtube/templates/home.html +++ b/youtube/templates/home.html @@ -1,7 +1,7 @@ {% set page_title = title %} {% extends "base.html" %} {% block style %} - + {% endblock style %} {% block main %}