eaglelandsonce commited on
Commit
d7f6ff0
·
verified ·
1 Parent(s): f4bd5aa

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -173
index.html CHANGED
@@ -4,179 +4,7 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Slide Viewer with Grok Chat</title>
7
- <style>
8
- /* General styling */
9
- * {
10
- margin: 0;
11
- padding: 0;
12
- box-sizing: border-box;
13
- }
14
- body {
15
- font-family: Arial, sans-serif;
16
- display: flex;
17
- flex-direction: row;
18
- min-height: 100vh;
19
- background-color: #000;
20
- color: #fff;
21
- }
22
- /* Sidebar styling */
23
- .sidebar {
24
- width: 60px;
25
- background-color: #333;
26
- color: white;
27
- display: flex;
28
- flex-direction: column;
29
- align-items: center;
30
- padding: 10px 0;
31
- }
32
- .prompt-icon {
33
- margin-top: 100px;
34
- cursor: pointer;
35
- text-align: center;
36
- }
37
- .prompt-icon img {
38
- width: 32px;
39
- height: 32px;
40
- margin-bottom: 5px;
41
- }
42
- .prompt-icon span {
43
- font-size: 12px;
44
- display: block;
45
- }
46
- /* Main content styling */
47
- .container {
48
- flex: 1;
49
- position: relative;
50
- display: flex;
51
- flex-direction: column;
52
- align-items: center;
53
- justify-content: center;
54
- }
55
- .top-bar {
56
- position: absolute;
57
- top: 0;
58
- width: 100%;
59
- background-color: #444;
60
- color: white;
61
- text-align: center;
62
- padding: 10px;
63
- z-index: 10;
64
- display: flex;
65
- align-items: center;
66
- justify-content: space-between;
67
- }
68
- .top-bar h1 {
69
- flex: 1;
70
- text-align: center;
71
- }
72
- .nav-buttons {
73
- display: flex;
74
- gap: 10px;
75
- }
76
- .nav-buttons button {
77
- background-color: #666;
78
- color: white;
79
- border: none;
80
- padding: 10px;
81
- font-size: 18px;
82
- cursor: pointer;
83
- }
84
- .nav-buttons button:hover {
85
- background-color: #888;
86
- }
87
- .main {
88
- display: flex;
89
- height: 100%;
90
- }
91
- .content {
92
- flex: 1;
93
- display: flex;
94
- justify-content: center;
95
- align-items: center;
96
- position: relative;
97
- background-color: #000;
98
- }
99
- .content img {
100
- max-width: 100%;
101
- max-height: 100%;
102
- object-fit: contain;
103
- display: block;
104
- }
105
- /* Prompt box styling */
106
- .prompt-box {
107
- position: absolute;
108
- top: 10%;
109
- left: 10%;
110
- background-color: rgba(255, 255, 255, 0.9);
111
- color: #333;
112
- padding: 15px;
113
- border: 1px solid #ccc;
114
- border-radius: 5px;
115
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
116
- display: none;
117
- z-index: 20;
118
- }
119
- .prompt-box textarea {
120
- width: 100%;
121
- height: 60px;
122
- margin-bottom: 10px;
123
- padding: 10px;
124
- font-size: 14px;
125
- border: 1px solid #ccc;
126
- border-radius: 5px;
127
- }
128
- .prompt-box button {
129
- padding: 5px 10px;
130
- font-size: 14px;
131
- background-color: #007bff;
132
- color: white;
133
- border: none;
134
- border-radius: 5px;
135
- cursor: pointer;
136
- }
137
- /* Response box styling */
138
- .response-box {
139
- position: absolute;
140
- top: 30%;
141
- left: 10%;
142
- background-color: rgba(255, 255, 255, 0.9);
143
- color: #333;
144
- padding: 15px;
145
- border: 1px solid #ccc;
146
- border-radius: 5px;
147
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
148
- display: none;
149
- z-index: 20;
150
- }
151
- .response-box h1, .response-box h2, .response-box h3 {
152
- color: #007bff;
153
- }
154
- .response-box p {
155
- font-size: 16px;
156
- line-height: 1.5;
157
- }
158
- .response-box ul {
159
- margin: 10px 0;
160
- padding-left: 20px;
161
- }
162
- .response-box ul li {
163
- list-style-type: disc;
164
- margin-bottom: 5px;
165
- }
166
- .response-box a {
167
- color: #007bff;
168
- text-decoration: none;
169
- }
170
- .response-box a:hover {
171
- text-decoration: underline;
172
- }
173
- .response-box code {
174
- font-family: monospace;
175
- background-color: #f0f0f0;
176
- padding: 2px 4px;
177
- border-radius: 3px;
178
- }
179
- </style>
180
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
181
  </head>
182
  <body>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Slide Viewer with Grok Chat</title>
7
+ <link rel="stylesheet" href="styles.css">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
9
  </head>
10
  <body>