Added new theme: blurywhite.scss

This commit is contained in:
Nikurasu 2022-05-03 13:41:45 +02:00
parent 1fcbbbade9
commit 125c93b9ec
6 changed files with 101 additions and 9 deletions

View file

@ -19,6 +19,7 @@ It's very simple, follow these steps.
file itself should be placed in `source/assets/images`
- The `design` refers to the style of your page the currently available styles are:
- [main](examples/images/main.png)
- [blurywhite](examples/images/blurywhite.png)
- List as much links as you like in the `links` array:
- With the `color` property you can give the link the color of the social
media plaform of your choice, but this feature is optional, the link will

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View file

@ -0,0 +1,98 @@
@import "enoded-images";
// Colors
@import "global-colors";
@import "brand-colors";
$gradient1: #e0f3ff;
$gradient2: #d5efff;
$gradient3: #a6d0ff;
$gradient4: #c1dbff;
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
background-image:
linear-gradient(120deg, $gradient1, $gradient2, $gradient3, $gradient4, $gradient3, $gradient2, $gradient1);
min-height: 100vh;
font-family: sans-serif;
z-index: 10;
}
body::before{
content: '';
background-image: url($noiseTexture);
opacity: 7.5%;
filter: blur(.5px);
position: absolute;
height: 100%;
width: 100%;
}
.mainContainer {
z-index: 11;
margin-top: 3rem;
width: 95%;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
z-index: 12;
text-align: center;
font-weight: 800;
font-size: 1.5rem;
color: $g_black;
}
img {
height: 8rem;
width: 8rem;
border-radius: 50%;
object-fit: cover;
}
.linkBox {
display: flex;
flex-direction: column;
width: 750px;
max-width: 90%;
align-items: center;
a {
$height: 3rem;
$transitionDuration: 0.15s;
$timingFunction: cubic-bezier(0,1.5,1,1.5);
margin-top: 0.5rem;
margin-bottom: 0.5rem;
width: 100%;
height: $height;
line-height: $height;
text-align: center;
color: $g_black;
text-decoration: none;
font-size: 1rem;
font-weight: 600;
background-color: $g_white;
border-radius: .25rem;
box-shadow: 0px 5px 14px -2px rgba(0, 0, 0, 0.25);
transition: transform $transitionDuration $timingFunction, box-shadow $transitionDuration $timingFunction;
&:hover{
transform: scale(102%, 105%);
box-shadow: 0px 5px 14px -2px rgba(0, 0, 0, 0.35);
}
}
@each $name, $color in $brandcolors {
.#{$name} {
border-color: $color;
color: $color;
&:hover {
background-color: $color;
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -77,13 +77,4 @@ body {
}
}
}
.link {
border-color: $g_black;
color: $g_black;
&:hover {
background-color: $g_black;
}
}
}

View file

@ -6,6 +6,7 @@ mix.setPublicPath('source/assets/build');
mix.jigsaw()
.sass('source/_assets/sass/main.scss', 'css')
.sass('source/_assets/sass/blurywhite.scss', 'css')
.options({
processCssUrls: false,
})