|
6 | 6 |
|
7 | 7 | <style>
|
8 | 8 | body, html {
|
9 |
| - height: 50%; |
10 |
| - margin: 0; |
| 9 | + height: 50%; |
| 10 | + margin: 0 auto; |
| 11 | + min-height: 100vh; |
| 12 | + display: flex; |
| 13 | + flex-direction: column; |
| 14 | + align-items: center; |
| 15 | + max-width: 625px; |
| 16 | + text-align: center; |
11 | 17 | }
|
12 | 18 |
|
13 |
| - |
14 |
| - .bg { |
| 19 | + /* Cool AI Bot Background Vid */ |
| 20 | + .bg2 { |
| 21 | + position: absolute; |
| 22 | + top: auto; |
| 23 | + right: 0; |
| 24 | + bottom: 0; |
| 25 | + left: 0; |
| 26 | + z-index: -1; |
| 27 | + min-height: 100vh; |
| 28 | + } |
| 29 | + |
| 30 | + @media (min-aspect-ratio: 16/9) { |
| 31 | + .bg2 { |
| 32 | + width: 100%; |
| 33 | + height: auto; |
| 34 | + } |
| 35 | + } |
| 36 | + @media (max-aspect-ratio: 16/9) { |
| 37 | + .bg2 { |
| 38 | + width: auto; |
| 39 | + height: 100%; |
| 40 | + } |
| 41 | + } |
| 42 | + |
| 43 | + /* Responsiveness: Smartphones and other devices */ |
| 44 | + /* Small phones, tablets, large smartphones */ |
| 45 | + @media (max-width: 768px) { |
| 46 | + nav { |
| 47 | + height: 68px; |
| 48 | + color: whitesmoke; |
| 49 | + } |
| 50 | + |
| 51 | + h1 { |
| 52 | + font-size: 12px; |
| 53 | + text-align: center; |
| 54 | + } |
| 55 | + |
| 56 | + .p1 { |
| 57 | + font-family: "Gill Sans", sans-serif; |
| 58 | + text-align: center; |
| 59 | + font-size: 12px; |
| 60 | + } |
| 61 | + |
| 62 | + .queryPrompt { |
| 63 | + font-family: "Fantasy", Copperplate, Papyris; |
| 64 | + text-align: center; |
| 65 | + color: whitesmoke; |
| 66 | + font-size: 8px; |
| 67 | + } |
| 68 | + } |
| 69 | + |
| 70 | + @media (max-width: 1366px) { |
| 71 | + nav { |
| 72 | + height: 68px; |
| 73 | + color: whitesmoke; |
| 74 | + } |
| 75 | + |
| 76 | + h1 { |
| 77 | + font-size: 16px; |
| 78 | + text-align: center; |
| 79 | + } |
| 80 | + |
| 81 | + .p1 { |
| 82 | + font-family: "Gill Sans", sans-serif; |
| 83 | + text-align: center; |
| 84 | + font-size: 8px; |
| 85 | + } |
| 86 | + |
| 87 | + .queryPrompt { |
| 88 | + font-family: "Fantasy", Copperplate, Papyris; |
| 89 | + text-align: center; |
| 90 | + color: whitesmoke; |
| 91 | + font-size: 12px; |
| 92 | + } |
| 93 | + } |
| 94 | + |
| 95 | + |
| 96 | + /* .bg { */ |
15 | 97 | /* The image used */
|
16 |
| - <!-- background: url("https://sallysbakingaddiction.com/wp-content/uploads/2013/05/classic-chocolate-chip-cookies.jpg"); --> |
17 |
| - <video autoplay loop muted plays-inline> |
18 |
| - <source src="./aiBot.mov"> |
19 |
| - </video> |
| 98 | + /* background: url("https://sallysbakingaddiction.com/wp-content/uploads/2013/05/classic-chocolate-chip-cookies.jpg"); |
| 99 | + |
20 | 100 |
|
21 | 101 | /* Full height */
|
22 |
| - height: 100%; |
| 102 | + /* height: 100%; */ |
23 | 103 |
|
24 | 104 | /* Centers and scales my image smooth and professional */
|
25 |
| - background-position: center; |
| 105 | + /*background-position: center; |
26 | 106 | background-repeat: no-repeat;
|
27 | 107 | background-size: cover;
|
28 |
| - } |
| 108 | + }*/ |
29 | 109 |
|
| 110 | + /* All Font (particuraly the answers to query). */ |
| 111 | + font { |
| 112 | + color: whitesmoke; |
| 113 | + font-size: x-large; |
| 114 | + } |
30 | 115 |
|
31 | 116 | /* Style for my header */
|
32 | 117 | .h1 {
|
| 118 | + font-size: xx-large; |
33 | 119 | font-family: "san-serif", Playfair Display, Bodoni;
|
34 | 120 | text-align: center;
|
| 121 | + padding: 7px; |
| 122 | + background: linear-gradient(to right, gold, #71713a, #544478, silver, whitesmoke, gold, #71713a, #544478, silver, whitesmoke); |
| 123 | + -webkit-background-clip: text; |
| 124 | + -webkit-text-fill-color: transparent; |
35 | 125 | }
|
36 | 126 |
|
37 | 127 |
|
38 | 128 | /* First paragraph style */
|
39 | 129 | .p1 {
|
| 130 | + min-height: 100vh; |
40 | 131 | font-family: "Gill Sans", sans-serif;
|
41 | 132 | text-align: center;
|
| 133 | + color: whitesmoke; |
| 134 | + font-size: 24px; |
| 135 | + display: flex; |
| 136 | + flex-direction: column; |
| 137 | + align-items: center; |
| 138 | + max-width: 625px; |
| 139 | + margin: 0 auto; |
| 140 | + } |
| 141 | + |
| 142 | + .para { |
| 143 | + font-size: 24px; |
| 144 | + margin-top: 2px; |
| 145 | + margin-bottom: 16px; |
| 146 | + color: whitesmoke; |
42 | 147 | }
|
43 | 148 |
|
44 | 149 |
|
45 | 150 | /* My query prompt style */
|
46 | 151 | .queryPrompt {
|
| 152 | + font-size: 24px; |
47 | 153 | font-family: "Fantasy", Copperplate, Papyris;
|
48 | 154 | text-align: center;
|
| 155 | + color: whitesmoke; |
49 | 156 | }
|
50 | 157 |
|
51 | 158 |
|
|
56 | 163 | justify-content: center;
|
57 | 164 | align-items: center;
|
58 | 165 | gap: 5px;
|
| 166 | + overflow: hidden; |
| 167 | + color: whitesmoke; |
59 | 168 | }
|
60 | 169 |
|
61 | 170 |
|
|
66 | 175 | text-align: center;
|
67 | 176 | width: fit-content;
|
68 | 177 | min-width: 150px;
|
| 178 | + max-width: 625px; |
69 | 179 | }
|
70 | 180 |
|
71 | 181 |
|
72 | 182 | /* My AI button style */
|
73 | 183 | button {
|
74 |
| - background-color: black; |
| 184 | + background-color: gol; |
75 | 185 | color: white;
|
76 | 186 | border: none;
|
77 | 187 | border-radius: 50%;
|
|
86 | 196 |
|
87 | 197 | <body>
|
88 | 198 |
|
| 199 | + <video autoplay loop muted plays-inline class="bg2"> |
| 200 | + <source src="./aiBot.mov"> |
| 201 | + </video> |
| 202 | + |
89 | 203 | <!-- For association with my background style -->
|
90 |
| - <div class="bg"></div> |
| 204 | + <!-- <div class="bg"></div> --> |
91 | 205 |
|
92 | 206 |
|
93 | 207 | <!-- My header -->
|
94 |
| - <h1 class="h1" >My First AI Chat Bot</h1> |
| 208 | + <h1 class="h1">My First AI Chat Bot</h1> |
95 | 209 |
|
96 | 210 |
|
97 | 211 | <!-- My first paragraph -->
|
98 |
| - <p class="p1"> |
99 |
| - <a href="https://supercodingninja.github.io/" target=”_blank”>"HELLO, WORLD!"</a> This is my first AI chat box. I have developed dialogue prompts before- even multiple choice <a href="https://supercodingninja.github.io/WhoIsOutside/" target=”_blank”>game</a>- and I've even used API (Application Programming Interface). I am familiar with integrating tools and technologies into a website (such as ChatGPT). Still, I had never fully coded my very own Chat Bot until Mr. David Bragg, founder of <a href="https://frontendsimplified.com/" target=”_blank”>Frontend Simplified</a> showed me how, and I highly recommend his courses! |
| 212 | + <p class="<p class="p1 para" style="color:whitesmoke"> |
| 213 | + <a href="https://supercodingninja.github.io/" target=”_blank”><b style="color: gold; font-size: xx-large;"><u>"HELLO, WORLD!"</u></b></a> (👈🏿Check out first website & my AI Chatbot repository just by clicking the hyperlinks 👇🏿) This is my first AI chat box. I have developed dialogue prompts before- even multiple choice <a href="https://supercodingninja.github.io/WhoIsOutside/" target=”_blank”>game</a>- and I've even used API (Application Programming Interface). I am familiar with integrating tools and technologies into a website (such as ChatGPT). Still, I had never fully coded my very own Chat Bot until Mr. David Bragg, founder of <a href="https://frontendsimplified.com/" target=”_blank”>Frontend Simplified</a> showed me how, and I highly recommend his courses! |
100 | 214 | </p>
|
101 | 215 |
|
102 | 216 |
|
|
0 commit comments