Skip to content

Commit

Permalink
new graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit Gundu authored and Amit Gundu committed Jan 19, 2025
1 parent 26b17ea commit 81b076a
Show file tree
Hide file tree
Showing 14 changed files with 161 additions and 109 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added assets/IMG_7509.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_7510.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_7511.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_7512.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_7513.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_7513.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/IMG_7514.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/miapaintface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textur3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/texture1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/texture2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
117 changes: 8 additions & 109 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,114 +6,8 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<title>for i = 0;</title>
<style>
* {
font-family: 'Courier New', monospace; /* Set the font to Courier New */
}
body {
background-image: url('assets/IMG_7506.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
.container {
display: flex; /* Use flexbox to align items horizontally */
align-items: center; /* Align vertically centered */
gap: 20px; /* Add space between h1 and ul */
}

ul {
list-style-type: none; /* Standard bullet points */
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
margin-top: 10px;
display: flex; /* Optional: make list items horizontal */
gap: 10px; /* Space between list items */
}

.container li {
margin: 0; /* Adjust list item spacing */
border: 1px solid black;
padding: 2px;
}
h1 {
margin: 0;
font-weight: normal;
/* border: 1px solid black; */
background-color: black;
color: white;
}
h2 {
font-weight: normal;
width: fit-content;
border: 1px solid black;
}
li:hover {
text-decoration-color: black;
text-decoration-thickness: 1px;
background-color: black;
color: white;
cursor: crosshair;
}
#stream-wrapper {
/* display: flex; */
overflow: scroll;
}
#stream-items {
display: flex;
margin-top: 20px;

}
#stream-items > li {
margin-right: 20px;
}
/* #stream {
border: 1px solid black;
} */
a {
text-decoration: none; /* Remove underline */
color: inherit; /* Inherit text color */
}

.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 1); /* White background with slight transparency */
border: 1px solid black;
z-index: 1000; /* Ensure it appears above other content */
padding: 10px;
}

.modal-content {
position: relative;
width: 100%;
height: 100%;
}

.close {
position: absolute;
top: 10px;
right: 20px;
font-size: 30px;
cursor: pointer;
}

.message {
font-size: 50px;
/* font-weight: bold; */
text-align: center;
color: white;
background-color: black;
padding: 20px;
/* border-radius: 10px; */
}

</style>
<script>
fetch('dist/postData.json')
.then(response => response.json())
Expand Down Expand Up @@ -238,10 +132,14 @@ <h2>stream:</h2>
<ul id="stream-items"></ul>
</div>
</section> -->

<div id="image-layer-1"></div>
<div id="image-layer-2"></div>
<div id="image-layer-3"></div>
<!-- <img src="assets/IMG_7513.png" id="image-layer-1" alt="Image 1" style="width: 50%; transform: rotate(45deg); position: absolute; z-index: -1;"> -->
<div>

<p class="message">OLD McDONALD HAD A FARM, AND THEN HE HAD ANOTHER ONE, AND ANOTHER ONE, AN..</p>
</div>
</div>

<!-- Modal Structure -->
<div id="modal" class="modal" style="display: none;">
Expand All @@ -252,3 +150,4 @@ <h2>stream:</h2>
</div>
</body>
</html>

153 changes: 153 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
* {
font-family: 'Courier New', monospace; /* Set the font to Courier New */
}
body {
background-image: url('assets/IMG_7506.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
height: 100%;
width: 100%;
}
.container {
display: flex; /* Use flexbox to align items horizontally */
align-items: center; /* Align vertically centered */
gap: 20px; /* Add space between h1 and ul */
}

ul {
list-style-type: none; /* Standard bullet points */
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
margin-top: 10px;
display: flex; /* Optional: make list items horizontal */
gap: 10px; /* Space between list items */
}

.container li {
margin: 0; /* Adjust list item spacing */
border: 1px solid black;
padding: 2px;
}
h1 {
margin: 0;
font-weight: normal;
/* border: 1px solid black; */
background-color: black;
color: white;
}
h2 {
font-weight: normal;
width: fit-content;
border: 1px solid black;
}
li:hover {
text-decoration-color: black;
text-decoration-thickness: 1px;
background-color: black;
color: white;
cursor: crosshair;
}
#stream-wrapper {
/* display: flex; */
overflow: scroll;
}
#stream-items {
display: flex;
margin-top: 20px;

}
#stream-items > li {
margin-right: 20px;
}
/* #stream {
border: 1px solid black;
} */
a {
text-decoration: none; /* Remove underline */
color: inherit; /* Inherit text color */
}

.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 1); /* White background with slight transparency */
border: 1px solid black;
z-index: 1000; /* Ensure it appears above other content */
padding: 10px;
}

.modal-content {
position: relative;
width: 100%;
height: 100%;
}

.close {
position: absolute;
top: 10px;
right: 20px;
font-size: 30px;
cursor: pointer;
}

.message {
font-size: 50px;
/* font-weight: bold; */
text-align: center;
color: white;
background-color: black;
padding: 20px;
/* border-radius: 10px; */
}

#image-layer-1 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-image: url('assets/miapaintface.png');
background-size: contain;
background-position: right;
background-repeat: no-repeat;
z-index: -1;
}
#image-layer-2 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-image: url('assets/texture1.png');
background-size: 100vh;
/* background-size: contain; */
background-position: left;
background-repeat: no-repeat;
z-index: -1;
}
#image-layer-3 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-image: url('assets/texture2.png');
background-size: 100vh;
/* background-size: contain; */
background-position: center;
background-repeat: no-repeat;
z-index: -2;
}

0 comments on commit 81b076a

Please sign in to comment.