diff --git a/app/app.py b/app/app.py index c9faa83..4bfad44 100644 --- a/app/app.py +++ b/app/app.py @@ -4,7 +4,7 @@ app = Flask(__name__) @app.route('/') def home(): - return render_template('index.j2') + return render_template('index.j2', server="everypizza.im dictd 1.13.3/rf on Linux 6.13.7-arch1-1") @app.route('/style.css') def style(): diff --git a/app/static/output.css b/app/static/output.css index efd0423..132206c 100644 --- a/app/static/output.css +++ b/app/static/output.css @@ -28,6 +28,7 @@ --color-black: #000; --color-white: #fff; --spacing: 0.25rem; + --breakpoint-xl: 80rem; --container-sm: 24rem; --text-sm: 0.875rem; --text-sm--line-height: calc(1.25 / 0.875); @@ -232,6 +233,9 @@ .row-start-1 { grid-row-start: 1; } + .m-4 { + margin: calc(var(--spacing) * 4); + } .mx-auto { margin-inline: auto; } @@ -241,9 +245,15 @@ .me-2 { margin-inline-end: calc(var(--spacing) * 2); } + .me-4 { + margin-inline-end: calc(var(--spacing) * 4); + } .mt-2 { margin-top: calc(var(--spacing) * 2); } + .mt-3 { + margin-top: calc(var(--spacing) * 3); + } .mr-2 { margin-right: calc(var(--spacing) * 2); } @@ -287,6 +297,9 @@ .w-full { width: 100%; } + .max-w-screen-xl { + max-width: var(--breakpoint-xl); + } .max-w-sm { max-width: var(--container-sm); } @@ -317,6 +330,9 @@ .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } + .flex-wrap { + flex-wrap: wrap; + } .place-content-center { place-content: center; } @@ -394,6 +410,9 @@ .p-2\.5 { padding: calc(var(--spacing) * 2.5); } + .p-4 { + padding: calc(var(--spacing) * 4); + } .px-2 { padding-inline: calc(var(--spacing) * 2); } @@ -473,6 +492,10 @@ .underline { text-decoration-line: underline; } + .shadow-sm { + --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); + box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + } .outline { outline-style: var(--tw-outline-style); outline-width: 1px; @@ -522,6 +545,13 @@ } } } + .hover\:underline { + &:hover { + @media (hover: hover) { + text-decoration-line: underline; + } + } + } .focus\:z-10 { &:focus { z-index: 10; @@ -591,12 +621,22 @@ outline-color: var(--color-indigo-600); } } + .sm\:mt-0 { + @media (width >= 40rem) { + margin-top: calc(var(--spacing) * 0); + } + } .sm\:size-4 { @media (width >= 40rem) { width: calc(var(--spacing) * 4); height: calc(var(--spacing) * 4); } } + .sm\:text-center { + @media (width >= 40rem) { + text-align: center; + } + } .sm\:text-5xl { @media (width >= 40rem) { font-size: var(--text-5xl); @@ -609,6 +649,26 @@ line-height: calc(var(--spacing) * 6); } } + .md\:me-6 { + @media (width >= 48rem) { + margin-inline-end: calc(var(--spacing) * 6); + } + } + .md\:flex { + @media (width >= 48rem) { + display: flex; + } + } + .md\:items-center { + @media (width >= 48rem) { + align-items: center; + } + } + .md\:justify-between { + @media (width >= 48rem) { + justify-content: space-between; + } + } .lg\:text-6xl { @media (width >= 64rem) { font-size: var(--text-6xl); @@ -777,11 +837,6 @@ syntax: "*"; inherits: false; } -@property --tw-outline-style { - syntax: "*"; - inherits: false; - initial-value: solid; -} @property --tw-shadow { syntax: "*"; inherits: false; @@ -847,6 +902,11 @@ inherits: false; initial-value: 0 0 #0000; } +@property --tw-outline-style { + syntax: "*"; + inherits: false; + initial-value: solid; +} @layer properties { @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) { *, ::before, ::after, ::backdrop { @@ -862,7 +922,6 @@ --tw-gradient-to-position: 100%; --tw-font-weight: initial; --tw-tracking: initial; - --tw-outline-style: solid; --tw-shadow: 0 0 #0000; --tw-shadow-color: initial; --tw-shadow-alpha: 100%; @@ -877,6 +936,7 @@ --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; + --tw-outline-style: solid; } } } diff --git a/app/templates/index.j2 b/app/templates/index.j2 index ec27d08..7fc2dfc 100644 --- a/app/templates/index.j2 +++ b/app/templates/index.j2 @@ -9,43 +9,63 @@
-