-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
223 lines (199 loc) · 6.52 KB
/
index.html
File metadata and controls
223 lines (199 loc) · 6.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Welcome to my art blog!">
<link rel="icon" href="./favicons/favicon.ico" sizes="32x32" type="image/x-icon">
<link rel="icon" href="./favicons/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="icon" href="./favicons/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="./favicons/mstile-150x150.png" sizes="150x150" type="image/png">
<link rel="icon" href="./favicons/android-chrome-192x192.png" sizes="192x192" type="image/png">
<link rel="icon" href="./favicons/android-chrome-512x512.png" sizes="512x512" type="image/png">
<link rel="icon" href="./favicons/apple-touch-icon.png" sizes="180x180" type="image/png">
<link rel="mask-icon" href="./favicons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="browserconfig" href="./favicons/browserconfig.xml" />
<link rel="manifest" href="./favicons/site.webmanifest">
<title>Radiant Ink</title>
<style>
/* Ensure html and body fill the entire height */
html, body {
margin: 0;
padding: 0;
height: 100%;
background-color: #f7f3ef;
box-sizing: border-box;
}
/* Container takes the full viewport height */
.container {
width: 90vw;
max-width: 1430px;
height: 100vh;
display: flex;
flex-direction: row;
background-color: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
margin: 0 auto;
border: 1px solid #000;
box-sizing: border-box;
}
/* Content section should center the image */
.content {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: 100%;
box-sizing: border-box;
}
/* Sidebar takes 25% of the width, full height */
.sidebar {
width: 25%;
background-color: #000000;
color: #ffffff;
padding: 40px 30px;
box-sizing: border-box;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
/* Sidebar list items styled as full-width rectangles */
.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
}
.sidebar ul li {
font-size: 1.8rem;
padding: 1.5rem 2rem;
text-align: center;
border: 2px solid #ffffff;
margin-bottom: 1.5rem;
background-color: #333333;
transition: background-color 0.3s ease;
}
.sidebar ul li a {
color: #ffffff;
text-decoration: none;
display: block;
}
/* Main image styling */
.main-image {
width: 100%;
height: auto;
display: flex;
justify-content: center;
align-items: center;
}
.main-image img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
/* Caption styling */
.caption {
text-align: center;
font-size: 2rem;
color: #666666;
margin-top: 1rem;
}
/* Media Query for 1080p Screens */
@media (max-width: 1080px) {
.container {
flex-direction: column;
height: auto;
}
.sidebar {
width: 100%;
padding: 20px;
}
.sidebar ul li {
font-size: 1.2rem;
padding: 1rem 1.5rem;
margin-bottom: 1rem;
}
.caption {
font-size: 1.5rem;
}
}
/* Media Query for 1440p Screens */
@media (min-width: 1440px) {
.container {
width: 80vw;
height: 100vh;
max-height: none;
}
.sidebar {
padding: 50px 40px;
}
.sidebar ul li {
font-size: 2.2rem;
padding: 2rem 3rem;
margin-bottom: 2.5rem;
}
.caption {
font-size: 2.5rem;
}
}
/* Additional Media Query for Mobile Screens (below 768px) */
@media (max-width: 768px) {
html, body {
background-color: #2C2116; /* Applying desired color on mobile */
}
.container {
flex-direction: column;
width: 100vw;
height: auto;
background-color: #2C2116; /* Container around content also gets brown */
}
.sidebar {
width: 100%;
padding: 15px;
background-color: #2C2116; /* Sidebar will also have the same background color */
color: #ffffff;
}
.content {
background-color: #2C2116; /* Applying brown color around the picture */
padding: 15px;
}
.sidebar ul li {
font-size: 1rem;
padding: 0.8rem 1rem;
margin-bottom: 0.8rem;
background-color: #444444;
border-color: #ffffff;
}
.sidebar ul li a {
color: #ffffff;
}
.caption {
font-size: 1.2rem;
color: #666666;
}
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<div class="main-image">
<img src="homepage.png" alt="Insert a picture here">
</div>
</div>
<div class="sidebar">
<ul>
<li><a href="blog/bloghome.html">My Blog Posts</a></li>
<li><a href="port/porthome.html">My Art Portfolio</a></li>
<li><a href="tut/tuthome.html">Art Tutorial</a></li>
<li><a href="aboutme.html">About Me</a></li>
<li><a href="rss/feed.xml">Subscribe to my RSS Feed</a></li>
</ul>
</div>
</div>
</body>
</html>