Skip to content

Commit

Permalink
create gh-pages in www and move logos
Browse files Browse the repository at this point in the history
  • Loading branch information
k88hudson-cfa committed Jul 29, 2024
1 parent 7e7a927 commit 6e5a51c
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Ixa (Interactive eXecution of ABMs) is a framework for building modular agent-based models in Rust.

<img align="left" alt="ixa crab" src="./ixa_logo.svg" width="200px" />
<img align="left" alt="ixa crab" src="www/ixa_logo.svg" width="200px" />

It's named after the [Ixa crab](https://www.crabdatabase.info/en/crabs/brachyura/eubrachyura/heterotremata/leucosioidea/leucosiidae/ixa/ixa-cylindrus-5874), a genus of Indo-Pacific pebble crabs from the family Leucosiidae.

Expand Down
165 changes: 165 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
/** Based on https://codepen.io/andreaminato/pen/MXgJKw **/
body {
margin: 0;
}

#app {
position: relative;
height: 100vh;
width: 100vw;
}

.title {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
}

.title h1 {
margin: 0;
font-size: 20vw;
text-shadow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff;
}

.container {
top: 0;
background: #fff;
right: 0;
bottom: 0;
position: absolute;
left: 0;
overflow: hidden;
}

.loader {
text-align: center;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}

.loader span {
width: 128px;
height: 128px;
background: url("ixa_logo.svg");
background-size: cover;
opacity: 0;
animation: loader 30s infinite linear;
}

.loader span:nth-child(2n) {
animation-name: loadercw;
}

.loader span:nth-child(5n + 5) {
animation-delay: 1.3s;
}

.loader span:nth-child(3n + 2) {
animation-delay: 1.5s;
}

.loader span:nth-child(2n + 5) {
animation-delay: 1.7s;
}

.loader span:nth-child(3n + 10) {
animation-delay: 2.7s;
}

.loader span:nth-child(7n + 2) {
animation-delay: 3.5s;
}

.loader span:nth-child(4n + 5) {
animation-delay: 5.5s;
}

.loader span:nth-child(3n + 7) {
animation-delay: 8s;
}

@keyframes loader {
0% {
width: 128px;
height: 128px;
opacity: 0;
transform: translate(0, 0vh) rotateZ(0deg);
}
25% {
width: 128px;
height: 128px;
opacity: 1;
transform: translate(0, 25vh) rotateZ(90deg);
}
75% {
width: 128px;
height: 128px;
opacity: 1;
transform: translate(5vw, 75vh) rotateZ(270deg);
}
100% {
width: 128px;
height: 128px;
opacity: 0;
transform: translate(10vw, 100vh) rotateZ(360deg);
}
}
@keyframes loadercw {
0% {
width: 128px;
height: 128px;
opacity: 0;
transform: translate(0, 0vh) rotateZ(0deg);
}
25% {
width: 128px;
height: 128px;
opacity: 1;
transform: translate(0, 25vh) rotateZ(-90deg);
}
75% {
width: 128px;
height: 128px;
opacity: 1;
transform: translate(5vw, 75vh) rotateZ(-270deg);
}
100% {
width: 128px;
height: 128px;
opacity: 0;
transform: translate(10vw, 100vh) rotateZ(360deg);
}
}
</style>
</head>
<body>
<div id="app">
<div class="container">
<div class="loader">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="title">
<h1>IXA</h1>
</div>
</div>
</body>
</html>
File renamed without changes
File renamed without changes

0 comments on commit 6e5a51c

Please sign in to comment.