Skip to content

Commit

Permalink
Placeholder gh-pages (#10)
Browse files Browse the repository at this point in the history
* Make logos transparent and add to README

* Create gh-pages in docs and move logos
  • Loading branch information
k88hudson-cfa authored Jul 30, 2024
1 parent 1dc2e99 commit 24bea97
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

<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.

** This project is currently in the early stages of development and not ready for use in production.**
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>
Binary file added docs/ixa_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ixa_logo.svg → docs/ixa_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed ixa_logo.png
Binary file not shown.

0 comments on commit 24bea97

Please sign in to comment.