Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AW-AlanWu committed Mar 19, 2024
0 parents commit a0dfa80
Show file tree
Hide file tree
Showing 7 changed files with 916 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
Binary file added images/codeforces-sponsored-by-ton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<title>Codeforces</title>
<link rel="shortcut icon" type="image/png" href="static/favicon.png">
<link rel="stylesheet" href="static/css/load.css" type="text/css" charset="UTF-8">
<link rel="stylesheet" href="static/css/clear.css" type="text/css" charset="UTF-8">
<link rel="stylesheet" href="static/css/style.css" type="text/css" charset="UTF-8">
</head>
<body>
<div id="header">
<div style="float: left;">
<a href="https://codeforces.com/"><img height="65" style="height: 65px;" src="images/codeforces-sponsored-by-ton.png" alt="Codeforces"/></a>
</div>
<br style="clear: both;"/>
</div>

<h3>Oops! Probably Codeforces can't be reached right now or your internet connection is broken.</h3>

<div id="loading">
<span style="--i:1;"></span>
<span style="--i:2;"></span>
<span style="--i:3;"></span>
<span style="--i:4;"></span>
<span style="--i:5;"></span>
<span style="--i:6;"></span>
<span style="--i:7;"></span>
<span style="--i:8;"></span>
<span style="--i:9;"></span>
<span style="--i:10;"></span>
</div>

<h3>Just a moment...</h3>

</body>
</html>
93 changes: 93 additions & 0 deletions static/css/clear.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
@charset "utf-8";
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{
margin:0;
padding:0;
}
table{
border-collapse:collapse;
border-spacing:0;
}
fieldset,img{
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var{
font-style:normal;
font-weight:normal;
}
ol,ul{
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6{
font-size:100%;
font-weight:normal;
}
q:before,q:after{
content:'';
}
abbr,acronym {
border:0;
}
textarea{
margin:0;
padding:2px;
}
a:link {
color: #0000cc;
}
body {
background: #fff;
margin: 3px 8px;
}
body, select, input {
font-family: verdana,arial,sans-serif;
}
/* body {
font-size: 87.5%;
}
*/
body {
font-size: 1.4rem;
}
h1 {
font-size: 1.8em;
font-weight: bold;
}
h2 {
font-size: 1.6em;
font-weight: bold;
}
h3 {
font-size: 1.4em;
font-weight: bold;
}
h4 {
font-size: 1.2em;
font-weight: bold;
}
h5 {
font-size: 1em;
font-weight: bold;
}
td td, th th, th td, td th {
font-size: 100%;
}
strong {
font-weight:bold;
}
em {
font-style: italic;
}
pre {
font-size: 110%;
}
form {
padding:0;
margin:0;
}
input {
padding-left:1px;
padding-right:1px;
}
31 changes: 31 additions & 0 deletions static/css/load.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#loading *{
margin: 0;
padding: 0;
}

#loading{
display: flex;
justify-content: center;
align-items: center;
width: 50%;
height: 100px;
}

#loading span{
width: 5px;
height: 20px;
background-color: black;
margin-left: 3px;
transform: scaleY(0);
animation: animate 1s linear infinite;
animation-delay: calc(0.1s * var(--i));
}

@keyframes animate{
0%,100%{
transform: scaleY(0);
}
50%{
transform: scaleY(1.5);
}
}
Loading

0 comments on commit a0dfa80

Please sign in to comment.