Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Jun 24, 2024
1 parent 10c72a9 commit 1e81b65
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 41 deletions.
7 changes: 2 additions & 5 deletions static/code/css/active.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ body.Active .center > div {
opacity: 1;
}
body.Active #grid-dynamic {
/* -webkit-mask-image: radial-gradient(#00000000 0, #00000040 50%, #00000080 100%); */
opacity: 1; /* background-color: var(--elu-blu); */
opacity: 1;
}
body.Active .spin > div.after > div {
border-width: 2vw;
Expand Down Expand Up @@ -88,16 +87,14 @@ body.Active #bytecode.Active {
display: table-cell;
}
body.Active #UI > ul > li {
opacity: 1; /* transition: 0.5s opacity ease-in-out; */
opacity: 1;
}
body.Active #UI > ul > li:nth-child(1) {
opacity: 1;
}
body.Active #UI > ul > li {
pointer-events: unset;
}
/* body.Active #UI > ul > li li:hover { backdrop-filter: blur(8px); } */

h1 > span.Active {
opacity: 1;
}
Expand Down
1 change: 1 addition & 0 deletions static/code/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
width: 100%;
max-width: 1280px;
text-align: center;
opacity: 0.25;
}
#farm-portrait {
display: inline-block;
Expand Down
35 changes: 4 additions & 31 deletions static/code/css/ubq.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ body .center > div {
}
body #Grid {
position: relative;
/* background-color: var(--elu-blu); */
}
body #Grid > div {
position: fixed;
Expand Down Expand Up @@ -405,10 +404,6 @@ body.Active .spin #aP {
text-align: center;
cursor: pointer;
}
body.Active .spin {
width: 66vh;
height: 66vh;
}
body.Active #Logo {
animation: logo-ani 0.2s;
opacity: 1;
Expand Down Expand Up @@ -923,12 +918,7 @@ body.social main#Spreads {
}
#Intro > article > div {
max-width: 1280px;
/* width: 100%; */
/* display: table-cell; */
/* vertical-align: middle; */
text-align: center;
/* display: inline-block; */
/* padding: 32px; */
}
#Intro {
background-image: url("../../image/grid-25.png");
Expand Down Expand Up @@ -1193,75 +1183,59 @@ td {
#fetch-total-rewards-target {
padding: 0 16px;
}

#Spreads > * {
overflow: hidden;
width: 100vw;
}

background .gradient {
background-image: radial-gradient(#00bfff00 0%, #00bfffff 15%, #00bfff00 34%, #00bfffff 58%, #00bfff00 75%, #00bfffff 100%);
background-image: radial-gradient(#00bfff00 0, #00bfffff 15%, #00bfff00 34%, #00bfffff 58%, #00bfff00 75%, #00bfffff 100%);
animation: background-gradients-fade-in 2s ease-in-out forwards;
/* height: 100vh; */
/* position: fixed; */
top: 0;
left: 0;
/* width: 100vw; */
width: 200vw;
height: 200vh;
position: absolute;
/* opacity: 0; */
}
background > :nth-child(1) {
transform: translateY(-100vh);
}
background > :nth-child(2) {
transform: translateY(-50vh);
}

background {
position: unset;
display: unset;
/* width: unset; */
/* height: unset; */
/* height: unset; */
background-size: unset;
background-position: unset;
text-align: unset;
/* left: unset; */
/* top: unset; */
}

background,
background #grid {
position: fixed;
top: 0;
left: 0;
}
html,
background {
background,
html {
background-color: #000410;
}

background #grid {
pointer-events: none;
}

background #grid canvas {
width: 100%;
height: 100%;
opacity: 0;
animation: background-grid-fade-in 2s ease-in-out forwards;
}

background .gradient {
width: 200vw;
height: 200vh;
position: absolute;
opacity: 0;
}
.grid-loaded background .gradient {
background-image: radial-gradient(#00bfff00 0%, #00bfffff 15%, #00bfff00 34%, #00bfffff 58%, #00bfff00 75%, #00bfffff 100%);
background-image: radial-gradient(#00bfff00 0, #00bfffff 15%, #00bfff00 34%, #00bfffff 58%, #00bfff00 75%, #00bfffff 100%);
animation: background-gradients-fade-in 2s ease-in-out forwards;
}
background > :nth-child(1) {
Expand All @@ -1270,7 +1244,6 @@ background > :nth-child(1) {
background > :nth-child(2) {
transform: translateY(-50vh);
}

@keyframes background-gradients-fade-in {
to {
opacity: 0.125;
Expand Down
10 changes: 5 additions & 5 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
<header>
<div id="sine-holder"><canvas id="sine" width="640"></canvas></div>
<h1>Putting the 'A' In 'DAO'</h1>
<aside>Introducing UbiquityOS: automating decentralized organizations.</aside>
<aside>Introducing UbiquityOS: automated task management for decentralized organizations.</aside>
</header>
<ol>
<li>
<a title="For Organizations" target="_blank" rel="noopener noreferrer" href="https://dao.ubq.fi/os-for-daos">
<a title="For Organizations" target="_blank" rel="noopener noreferrer" href="https://dao.ubq.fi/ubiquityos-for-daos">
<span>
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#fff">
<path
Expand All @@ -80,7 +80,7 @@ <h1>Putting the 'A' In 'DAO'</h1>
</li>

<li>
<a title="For Devs" target="_blank" rel="noopener noreferrer" href="https://dao.ubq.fi/os-for-devs">
<a title="For Devs" target="_blank" rel="noopener noreferrer" href="https://dao.ubq.fi/ubiquityos-for-devs">
<span>
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#fff">
<path
Expand Down Expand Up @@ -435,7 +435,7 @@ <h4>Join the community</h4>
<li><a href="https://github.com/ubiquity/ubiquity-dollar-development/wiki">Docs</a></li>
<li><a href="https://dao.ubq.fi/branding" rel="noopener noreferrer" target="_blank">Brand kit</a></li>
<li><a href="https://dao.ubq.fi/about">About</a></li>
<li><a href="https://dao.ubq.fi/os-for-devs">Jobs</a></li>
<li><a href="https://dao.ubq.fi/ubiquityos-for-devs">Jobs</a></li>
</ul>
</div>
</article>
Expand Down Expand Up @@ -470,7 +470,7 @@ <h4>Join the community</h4>
<!-- -->
<ul>
<li>
<a target="_blank" rel="noopener noreferrer" href="https://dao.ubq.fi/os-for-devs"><div>OS for Developers</div></a>
<a target="_blank" rel="noopener noreferrer" href="https://dao.ubq.fi/ubiquityos-for-devs"><div>OS for Developers</div></a>
</li>
<li>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/ubiquity"><div>GitHub</div></a>
Expand Down

0 comments on commit 1e81b65

Please sign in to comment.