Skip to content

Commit

Permalink
Add: Tailwind CSS
Browse files Browse the repository at this point in the history
Change: Website design
  • Loading branch information
udontur committed Jun 22, 2024
1 parent 31dfa2f commit f7a6260
Show file tree
Hide file tree
Showing 1,942 changed files with 300,770 additions and 435 deletions.
36 changes: 20 additions & 16 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

gtag('config', 'G-5VBXRTC113');
</script>
<script src="https://kit.fontawesome.com/de55c4cca3.js" crossorigin="anonymous"></script>
<title>404 Not Found</title>
<link rel="icon" type="image/x-icon" href="/image/udontur.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
Expand All @@ -20,8 +19,6 @@
body{
background-color: #181818;
font-family: "JetBrains Mono", monospace;
color: #a3dbce;
font-size: 30px;
}
::-moz-selection {
background-color: transparent;
Expand All @@ -32,16 +29,16 @@
::selection {
background-color: transparent;
}
h1{
margin-top: 15%;
font-size: 80px;
cursor: default;
img{
margin-top: 15vh;
border-radius: 12px;
width: 400px;
}
button{
background-color: #a3dbce;
background-color: #4ade80;
font-family: "JetBrains Mono", monospace;
font-size: 30px;
color: #455f1d;
font-size: 35px;
color: #181818;
padding: 10px;
padding-left: 20px;
padding-right: 20px;
Expand All @@ -51,7 +48,8 @@
cursor: pointer;
transition-duration: 0.3s;
height: 80px;
width: 608px;
width: 400px;
margin-top: 10px;
}
button:hover{
background-color: #e0e0e0;
Expand All @@ -60,11 +58,17 @@
</style>
</head>
<body>
<center><h1>404 Not found</h1></center>
<center><a href="https://hadrianlau.com/">
<button>
<i class="fa-solid fa-arrow-up"></i> Back
</button></a></center>
<center>
<img src="img/404.png">
</center>
<center>
<a href="https://hadrianlau.com/">
<button>
Go back
</button>
</a>
</center>

<script>
</script>
</body>
Expand Down
25 changes: 20 additions & 5 deletions clock/clock_s.html → clock.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

gtag('config', 'G-5VBXRTC113');
</script>
<script src="https://kit.fontawesome.com/de55c4cca3.js" crossorigin="anonymous"></script>
<title>Clock</title>
<link rel="icon" type="image/x-icon" href="/image/udontur.png">
<link rel="icon" type="image/x-icon" href="img/favicon.png">
<style>
body {
background-color: #181818;
Expand Down Expand Up @@ -40,15 +39,31 @@
</head>
<body>
<script>
function updateClock() {
function get_query_string(name){
const query_string = new URLSearchParams(window.location.search);
return query_string.get(name);
}
function second_true() {
const now = new Date();
const hours = now.getHours().toString().padStart(2, "0");
const minutes = now.getMinutes().toString().padStart(2, "0");
const seconds = now.getSeconds().toString().padStart(2, "0");
document.body.textContent = `${hours}:${minutes}:${seconds}`;
}
updateClock();
setInterval(updateClock, 1000);
function second_false() {
const now = new Date();
const hours = now.getHours().toString().padStart(2, "0");
const minutes = now.getMinutes().toString().padStart(2, "0");
document.body.textContent = `${hours}:${minutes}`;
}
const second = get_query_string('second');
if(second === 'false'){
second_false();
setInterval(second_false, 1000);
} else {
second_true();
setInterval(second_true, 1000);
}
</script>
</body>
</html>
54 changes: 0 additions & 54 deletions clock/clock_nos.html

This file was deleted.

56 changes: 0 additions & 56 deletions clock/clock_pg.html

This file was deleted.

Binary file removed image/udontur.png
Binary file not shown.
Binary file removed image/udonturelong.png
Binary file not shown.
Binary file added img/404.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 img/cook.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 img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f7a6260

Please sign in to comment.