Initial commit
This commit is contained in:
159
src/styles.scss
Normal file
159
src/styles.scss
Normal file
@@ -0,0 +1,159 @@
|
||||
@font-face {
|
||||
font-family: 'Comfortaa';
|
||||
src: url('assets/Comfortaa-VariableFont_wght.ttf');
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
font-size: 150%;
|
||||
font-family: 'Comfortaa', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
.gradient {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
background-image: linear-gradient(to bottom, #3362bc, #3d6cc7, #4776d1, #5181dc, #5a8be7, #5a8be7, #5b8ae7, #5b8ae7, #527fdc, #4975d1, #406ac7, #3760bc);
|
||||
}
|
||||
|
||||
.generators {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
justify-content: space-evenly;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.generator {
|
||||
margin: 1em;
|
||||
background: rgba( 255, 255, 255, 0.15 );
|
||||
box-shadow: 0 8px 32px 0 rgba( 0, 38, 135, 0.37 );
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba( 255, 255, 255, 0.18 );
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: 0 1em 1em 1em;
|
||||
display: flex;
|
||||
place-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.buttons {
|
||||
margin-top: 1em;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
place-content: space-between;
|
||||
margin-left: auto;
|
||||
|
||||
img {
|
||||
padding: .2em;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
|
||||
&:hover {
|
||||
background: rgba( 0, 0, 0, 0.30 );
|
||||
}
|
||||
}
|
||||
|
||||
:nth-child(1) {
|
||||
margin: auto 0 auto 1em;
|
||||
}
|
||||
|
||||
:nth-child(2) {
|
||||
margin: auto 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.7);
|
||||
background: rgba(255, 255, 255, 0.20);
|
||||
|
||||
span {
|
||||
margin-left: 1em;
|
||||
padding: 0.4em 0;
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.titleButtons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
align-content: center;
|
||||
|
||||
margin: 0 1em;
|
||||
padding: 0;
|
||||
|
||||
img {
|
||||
padding: .1em;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
|
||||
&:hover {
|
||||
background: rgba( 0, 0, 0, 0.30 );
|
||||
}
|
||||
}
|
||||
|
||||
.smaller {
|
||||
padding: 0.2em;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
margin-top: 1em;
|
||||
width: 210px;
|
||||
min-width: 0px;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
padding: 0 0.7em;
|
||||
letter-spacing: 1px;
|
||||
font-size: 1em;
|
||||
height: 2em;
|
||||
color: white;
|
||||
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 8px 32px 0 rgba( 0, 38, 135, 0.37 );
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba( 255, 255, 255, 0.20 );
|
||||
|
||||
&.ng-valid {
|
||||
border-bottom: 3px solid #87e17a
|
||||
}
|
||||
|
||||
&.ng-invalid {
|
||||
border-bottom: 3px solid #fb8686;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
cursor: pointer;
|
||||
filter: invert(100%);
|
||||
margin: auto 0;
|
||||
|
||||
background: rgba( 0, 0, 0, 0.15 );
|
||||
box-shadow: 0 8px 32px 0 rgba(255, 217, 120, 0.37);
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.10);
|
||||
}
|
||||
Reference in New Issue
Block a user