Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added googlebold.ttf
Binary file not shown.
Binary file added monument.ttf
Binary file not shown.
Binary file added nothing.ttf
Binary file not shown.
62 changes: 56 additions & 6 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,65 @@
font-family: Arial;
box-sizing: border-box;
}
@font-face {
font-family: monument;
src: url(Monument.ttf);
}
@font-face {
font-family: googlebold;
src: url(googlebold.ttf);
}
@font-face {
font-family: nothing;
src: url(nothing.ttf);
}
#left h1 {
font-family: nothing;
background-image: linear-gradient(red, rgb(255, 255, 255));
-webkit-background-clip: text;
color: transparent;
/* color: white; */
font-size: 4rem;
writing-mode: vertical-lr;
text-orientation: upright;
letter-spacing: 50px;
}
html,
body {
width: 100%;
height: 100%;
}
button {
width: 200px;
aspect-ratio: 2;
/* background: rgb(29, 29, 49); */
border: none;
border-top: 1px solid rgb(154, 149, 149);
font-size: 1.5rem;
background-image: linear-gradient(red, rgb(255, 255, 255));
-webkit-background-clip: text;
color: transparent;
}
#main {
display: flex;
width: 100vw;
height: 100vh;
}
#left {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 20vw;
background-color: rgb(16, 16, 16);
height: inherit;
border-right: 1px solid rgb(153, 148, 148);
text-orientation: upright;
}

#right {
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(rgb(193, 72, 72), rgb(190, 229, 190));
font-family: nothing;
background: radial-gradient(rgb(87, 84, 84), rgb(19, 20, 19));
justify-content: center;
align-items: center;
width: 80vw;
Expand All @@ -42,20 +79,23 @@
gap: 2vh;
}
#head {
background-color: rgb(122, 118, 118);
background-color: rgb(43, 40, 40);
box-shadow: 0 0 10px black;
width: 50vw;
height: 10vh;
border-radius: 20px;
}
#question {
/* background-color: rgb(50, 50, 53); */
background-color: rgb(193, 72, 72);
background-color: rgb(43, 40, 40);
box-shadow: 0 0 10px black;
height: 30vh;
width: 50vw;
border-radius: 20px;
}
#answer {
background-color: rgb(190, 229, 190);
background-color: rgb(43, 40, 40);
box-shadow: 0 0 10px black;
height: 70vh;
width: 70vw;
border-radius: 20px;
Expand All @@ -72,7 +112,17 @@
</head>
<body>
<div id="main">
<div id="left"></div>
<div id="left">
<h1>AOBT</h1>
<button onclick="reloadPage()">Reload Page</button>

<script>
function reloadPage() {
// Use JavaScript to reload the page
location.reload();
}
</script>
</div>
<div id="right">
<div id="head">
<h1>{{speak}}</h1>
Expand Down