Merge branch 'svelte' of https://github.com/afnzmn/revanced-website into svelte

This commit is contained in:
af-n 2022-07-23 15:39:31 -04:00
commit 7b2ebf24f2
5 changed files with 47 additions and 27 deletions

View File

@ -6,12 +6,12 @@
<h1>2.5.0</h1>
<h4>2022-07-11</h4>
<div class="info">
<div class='rounded-fill'><h3>Features</h3></div>
<h3>Features</h3>
<ul>
<li><h5>feature request issue template <a href="https://github.com/revanced/revanced-patcher/commit/112bc998f4761a647cb9eab7454e35264fa96fd9">(1b39278)</a></h5></li>
<li><h5>issue templates [skip ci] <a href="https://github.com/revanced/revanced-patcher/commit/112bc998f4761a647cb9eab7454e35264fa96fd9">(112bc99)</a></h5></li>
</ul>
<div class='rounded-fill'><h3>Bug Fixes</h3></div>
<h3>Bug Fixes</h3>
<ul>
<li><h5>missing additional items [skip ci] <a href="https://github.com/revanced/revanced-patcher/commit/0ebab8bf598d993df6e340651205cba48f1ef725">(0ebab8b)</a></h5></li>
</ul>
@ -27,23 +27,17 @@
border-radius: 15px;
justify-content: center;
height:100%;
min-width:300px;
}
h1 {
text-align: center;
margin-top: 1.4rem;
padding-top: 1.4rem;
font-weight: 700;
}
h3 {
text-align: left;
}
h4 {
text-align: center;
}
.rounded-fill {
display:inline-block;
border-radius: 200px;
margin-left: 1rem;
@ -51,16 +45,21 @@
background-color: var(--grey-three);
}
.info{
margin-top: 1rem;
overflow-y: scroll;
margin-right: 0.5rem;
-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
height:30vh;
h4 {
text-align: center;
}
.info{
margin-top: 1rem;
margin-right: 0.5rem;
padding-bottom: 1.5rem;
height:30vh;
overflow-y: scroll;
-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
}
ul {
margin-top: 0.5rem;
margin-left:3rem;
@ -80,8 +79,7 @@
.button {
display:flex;
justify-content: center;
margin-top: -1.5rem;
margin-bottom: 1.5rem;
padding: 1.5rem 0;
}
</style>

View File

@ -12,14 +12,15 @@
<style>
li {
border: var(--grey-six);
width: 150px;
text-align: center;
list-style: none;
display: inline-block;
position: relative;
margin-left: 0.25rem;
margin-right: 0.25rem;
font-weight: 300;
margin-left: 0.5rem;
margin-right: 0.5rem;
align-items: center;
border: var(--grey-six);
transition-timing-function: var(--bezier-one);

View File

@ -2,7 +2,8 @@
import DownloadSelector from "../atoms/DownloadSelector.svelte";
</script>
<div class="download-selector-main">
<div class="recent"><DownloadSelector/></div>
<div class="main">
<DownloadSelector></DownloadSelector>
<DownloadSelector></DownloadSelector>
<DownloadSelector></DownloadSelector>
@ -12,21 +13,20 @@
<DownloadSelector></DownloadSelector>
</div>
<style>
.download-selector-main {
.recent, .main {
background-color: var(--grey-one);
margin-top: 2rem;
padding: 0.75rem 0.75rem;
border-radius: 25px;
width: 100%;
}
.main {
gap:0.9rem;
display:grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-auto-flow: column;
overscroll-behavior-x: contain;
scroll-snap-type: x mandatory;
overflow-x: scroll;
-webkit-mask-image: linear-gradient(#ffffff, #e66869);
}
</style>

View File

@ -34,6 +34,7 @@
user-select: none;
}
.logo {
display: inline-block;
}
@ -54,4 +55,23 @@
h1 span {
color: var(--red);
}
@media screen and (max-width: 1052px) {
h1 {
display: none;
}
nav {
padding-left: 7%;
padding-right: 1%;
}
}
@media screen and (max-width: 768px) {
nav {
background-color: purple;
}
}
</style>

View File

@ -29,7 +29,8 @@
display: flex;
gap:1rem;
user-select: none;
transform: translateX(-3px)
transform: translateX(-3px);
margin-top: 3rem;
}
.hero-text h1 {