Skip to content

Commit

Permalink
little corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
iguannalin committed Nov 21, 2024
1 parent 5cca4d1 commit 5184cc2
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 1,005 deletions.
23 changes: 23 additions & 0 deletions draft/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* @import url(small.css) (min-width:0px);
@import url(large.css) (min-width:900px); */

:root {
--main-bg-color: rgb(35, 35, 35);
--main-text-color: #f9faffde;
--shadow-color: #858ebc;
}

html {
display: block;
width: 100%;
}

body {
display: flex;
justify-content: center;
align-items: center;
flex-flow: column;
background-color: var(--main-bg-color);
color: var(--main-text-color);
text-shadow: var(--shadow-color) -2px 2px 8px;
}
13 changes: 13 additions & 0 deletions draft/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>TBD</title>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="../index.css" rel="stylesheet"/>
<script src="index.js"></script>
</head>
<body>
<div id="container"></div>
</body>
</html>
8 changes: 8 additions & 0 deletions draft/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
window.addEventListener("load", () => {
function getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min) + min); // The maximum is exclusive and the minimum is inclusive
}
const container = document.getElementById("container");
});
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<html lang="en">

<head>
<!--
hiya -- anna
Expand All @@ -27,7 +26,6 @@
<meta property="og:url" content="annaylin.com">
<meta property="og:image" content="https://annaylin.com/public/wallpaper.png">
<meta property="og:type" content="website">
<title>anna y lin</title>
<link rel="stylesheet" href="index.css" />
<script src="index.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.addEventListener("load", () => {
const greeting = document.getElementById("greeting");
const oopsies = document.getElementById("oops");
const radioButtons = Array.from(document.getElementsByClassName("film-button"));
const isSmallScreen = getComputedStyle(top).display != "none";
const isSmallScreen = getComputedStyle(top).display !== "none";
let previousElement = center;
let previousElementSub = greeting;

Expand Down Expand Up @@ -122,7 +122,7 @@ window.addEventListener("load", () => {
elem = center;
break;
}
switchView(elem, false, elem == center);
switchView(elem, false);
}

function oops() {
Expand Down
72 changes: 0 additions & 72 deletions login.html

This file was deleted.

Loading

0 comments on commit 5184cc2

Please sign in to comment.