Skip to content

Commit

Permalink
withp
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaddarwishcreoshift committed Sep 13, 2024
1 parent e8617b5 commit 15b7944
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 61 deletions.
2 changes: 1 addition & 1 deletion zq2/docs/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The faucet sends an amount of 100 ZIL to the supplied address for use in testing
Enter the hex address of your compatible EVM wallet into the field below to receive 100 ZIL on the Zilliqa 2.0 proto-testnet:

<div class="fish">
<iframe width="80%" height="200px" src="https://faucet.zq2-prototestnet.zilliqa.com/">
<iframe width="80%" height="200px" src="https://faucet.zq2-prototestnet.zilliqa.com/"></iframe>
</div>

_If you are unable to use the tool above, you can also [access the faucet here](https://faucet.zq2-prototestnet.zilliqa.com)._
125 changes: 65 additions & 60 deletions zq2/docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
--md-default-fg-color: #ffffff;
--md-default-fg-color--light: #ffffff;
--md-default-fg-color--dark: #ffffff;
--md-default-fg-color--lightest: #808080;
;


--md-default-fg-color--lightest: #393939;
--md-typeset-color: #ffffff;
--md-typeset-a-color: #00d0c6;
--md-accent-fg-color: #00d0c6;
Expand All @@ -38,7 +35,7 @@
--md-code-fg-color: #ffffff;
--md-code-fg-color--light: #ffffff;
--md-code-hl-comment-color: #cccc00;
--md-typeset-table-color: #808080;
--md-typeset-table-color: #393939;
--md-typeset-table-stripe-color: #303030;
--md-code-hl-punctuation-color: #808080;
--md-code-h1-name-color: #606060;
Expand All @@ -52,14 +49,14 @@

.md-header {
color: #ffffff;
box-shadow: 0px 0px 4px 0px #0000001A;
box-shadow: 0px 0px 4px 0px #0000001a;
}

[dir=ltr] .md-header__title {
margin-left: 0
[dir="ltr"] .md-header__title {
margin-left: 0;
}

.md-search__input+.md-search__icon {
.md-search__input + .md-search__icon {
color: #ffffff;
}

Expand All @@ -84,9 +81,9 @@ td {
border-top: none;
}

.md-typeset__table {
/* .md-typeset__table {
line-height: 1;
}
} */

.md-typeset__table table:not([class]) {
font-size: 0.74rem;
Expand Down Expand Up @@ -154,10 +151,14 @@ td {
}

.md-typeset em {
color: var(--md-default-fg-color--lightest)
color: var(--md-default-fg-color--lightest);
}


@media screen and (max-width: 76.1875em) {
.md-nav--primary .md-nav__title[for="__drawer"] {
color: #ffffff;
}
}
/* Cre */
p a {
text-decoration: underline;
Expand All @@ -176,7 +177,8 @@ p a {
}

.md-content__inner {
padding-top: 0;
padding-top: 4rem;
padding-bottom: 4rem;
}

.md-sidebar {
Expand All @@ -185,7 +187,7 @@ p a {
}

@supports selector(::-webkit-scrollbar) {
[dir=ltr] .md-sidebar__inner {
[dir="ltr"] .md-sidebar__inner {
padding-right: calc(100% - 15rem);
}
}
Expand All @@ -197,7 +199,6 @@ p a {
padding: 4rem;
position: relative;
margin-bottom: 3rem;

}

.md-typeset .md-zil-banner h1 {
Expand All @@ -214,36 +215,36 @@ p a {
font-size: 31px;
font-weight: 700;
letter-spacing: -0.5px;
display: inline-block
display: inline-block;
}

.md-zil-banner .flex {
display: flex;
}

.md-zil-banner .flex>div {
.md-zil-banner .flex > div {
width: 50%;
line-height: 28px;
}

.md-zil-banner .flex>div:last-child a {
.md-zil-banner .flex > div:last-child a {
border: 1px solid var(--md-accent-fg-color);
line-height: 62px;
border-radius: 15px;
padding: 0 3rem;
margin: .5rem 0 0 4rem;
line-height: 54px;
border-radius: 10px;
padding: 0 2rem;
margin: 0.5rem 0 0 4rem;
display: inline-block;
font-weight: 700;
letter-spacing: -.5px;
letter-spacing: -0.5px;
text-decoration: none;
}

.md-zil-banner .flex>div:last-child a:hover {
.md-zil-banner .flex > div:last-child a:hover {
background-color: var(--md-accent-fg-color);
color: #ffffff;
}

.md-zil-banner>div {
.md-zil-banner > div {
position: relative;
z-index: 1;
}
Expand All @@ -256,7 +257,7 @@ p a {
width: 100%;
height: 100%;
background: #000000;
opacity: .4;
opacity: 0.4;
z-index: 0;
}

Expand All @@ -281,15 +282,13 @@ p a {
}

.md-zil-cards.cards ul li,
.md-zil-cards>div {

border: 1px solid #3B3B3B;
border-radius: 15px;

.md-zil-cards > div {
border: 1px solid var(--md-typeset-table-color);
border-radius: 25px;
}

.md-zil-cards.cards ul li {
margin: 0
margin: 0;
}

.md-zil-cards.cards ul li a {
Expand All @@ -306,34 +305,41 @@ p a {
background-position: calc(100% - 20px) 30px;
background-size: 30px;
padding-right: 70px;
transition: color 300ms ease-in-out;
}

.md-zil-cards>div {
.md-zil-cards.cards ul li a:hover {
color: rgba(255, 255, 255, 0.6);
}
.md-zil-cards > div {
padding: 1.5rem 2rem;
display: flex;
min-height: 220px;
flex-direction: column;
justify-content: space-between;
}

.md-zil-cards>div h2 {
.md-zil-cards > div h2 {
margin: 0;
margin-bottom: 1.5rem;
}

.md-zil-cards>div p {
.md-zil-cards > div p {
margin: 0;
color: rgba(255, 255, 255, .6);
color: rgba(255, 255, 255, 0.6);
font-size: 14px;
transition: color 300ms ease-in-out;
}

.md-zil-cards > div:hover p {
color: #fff;
}

.metamask {
font-size: 16px;
font-weight: 600;
padding: 14px 24px;
padding-left: 50px;
background-color: #1D1D1D;
background-color: #1d1d1d;
border-radius: 7px;
background-image: url(../assets/metamask_fox.png);
background-repeat: no-repeat;
Expand All @@ -347,45 +353,44 @@ p a {
cursor: pointer;
}




@media screen and (max-width: 76.1875em) {
[dir=ltr] .md-sidebar {
[dir="ltr"] .md-sidebar {
left: -15rem;
}

[data-md-toggle=drawer]:checked~.md-container .md-side bar--primary {
[data-md-toggle="drawer"]:checked ~ .md-container .md-side bar--primary {
box-shadow: var(--md-shadow-z3);
transform: translateX(15rem);
}
[data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary {
[data-md-toggle="drawer"]:checked ~ .md-container .md-sidebar--primary {
box-shadow: var(--md-shadow-z3);
transform: translateX(15rem);
}
.md-zil-banner,.md-zil-wrapper{
padding:1.8rem;
}
.md-zil-banner,
.md-zil-wrapper {
padding: 1.8rem;
background-position: 30% center;
margin:0 -.8rem 1.2rem
margin: 0 -0.8rem 1.2rem;
}
.md-typeset .md-zil-banner h1{
max-width:100%
.md-typeset .md-zil-banner h1 {
max-width: 100%;
}
.md-zil-banner .flex{
flex-direction: column;
.md-zil-banner .flex {
flex-direction: column;
}
.md-zil-banner .flex >div{
.md-zil-banner .flex > div {
width: 100%;
}
.md-zil-banner .flex>div:last-child a{
margin-left:0;
.md-zil-banner .flex > div:last-child a {
margin-left: 0;
}
.md-zil-cards,.md-zil-cards.cards ul{
.md-zil-cards,
.md-zil-cards.cards ul {
gap: 1rem;
grid-template-columns: auto ;
grid-template-columns: auto;
}
.md-zil-cards>div{
padding:1rem;
.md-zil-cards > div {
padding: 1rem;
min-height: 0;
}
}

0 comments on commit 15b7944

Please sign in to comment.