Updated css
This commit is contained in:
@@ -54,6 +54,27 @@ input[type=color] {
|
|||||||
background-color: #787878;
|
background-color: #787878;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
border: 1px solid white;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: left;
|
||||||
|
background-color: #4CAF50;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background-color: #00000033;
|
||||||
|
}
|
||||||
|
tr:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.281);
|
||||||
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
background-color: #505050;
|
background-color: #505050;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@@ -80,23 +101,32 @@ input[type=color] {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
.textboxGrid {
|
||||||
width: 100%;
|
display: grid;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
align-content: space-evenly;
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
grid-column-gap: auto;
|
||||||
|
grid-row-gap: 20px;
|
||||||
}
|
}
|
||||||
|
.textboxGrid * {
|
||||||
td, th {
|
size: 100%;
|
||||||
border: 1px solid white;
|
padding: 40px 80px;
|
||||||
padding: 8px;
|
background-color: #787878;
|
||||||
}
|
}
|
||||||
|
.textboxGrid .linkElement {
|
||||||
th {
|
border: 1px solid black;
|
||||||
text-align: left;
|
|
||||||
background-color: #4CAF50;
|
|
||||||
}
|
}
|
||||||
|
.textboxGrid .linkElement:hover {
|
||||||
tr:nth-child(even) {
|
background-color: #505050;
|
||||||
background-color: #00000033;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
tr:hover {
|
.textboxGrid .linkElement a:hover {
|
||||||
background-color: rgba(255, 255, 255, 0.281);
|
text-decoration: underline;
|
||||||
|
color: #66D9EF;
|
||||||
|
}
|
||||||
|
.textboxGrid .linkElement * {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|||||||
67
resources/css/scss/_classes.scss
Normal file
67
resources/css/scss/_classes.scss
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
.center {
|
||||||
|
background-color: $grey3;
|
||||||
|
margin: auto;
|
||||||
|
margin-bottom: 10%;
|
||||||
|
width: 70%;
|
||||||
|
padding: 5%;
|
||||||
|
height: max-content;
|
||||||
|
border-radius: $radius;
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
margin: $standardMargin;
|
||||||
|
* {display: inline-block;}
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftalign * {
|
||||||
|
margin: $standardMargin;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.textboxGrid {
|
||||||
|
|
||||||
|
display: grid;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
align-content: space-evenly;
|
||||||
|
|
||||||
|
grid: {
|
||||||
|
template-columns: repeat(3, 1fr);
|
||||||
|
|
||||||
|
column-gap: auto;
|
||||||
|
row-gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
|
||||||
|
size: 100%;
|
||||||
|
padding: 40px 80px;
|
||||||
|
background-color: $grey4;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.linkElement {
|
||||||
|
border: 1px solid black;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: $grey3;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: $linkStill;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,6 +10,8 @@ $grey3: rgb(80, 80, 80);
|
|||||||
$grey4: rgb(120, 120, 120);
|
$grey4: rgb(120, 120, 120);
|
||||||
|
|
||||||
$border-color: white;
|
$border-color: white;
|
||||||
|
$linkStill: #66D9EF;
|
||||||
|
$linkHover: #A6E22E;;
|
||||||
|
|
||||||
$radius: 15px;
|
$radius: 15px;
|
||||||
$standardMargin: 15px;
|
$standardMargin: 15px;
|
||||||
@@ -48,8 +48,8 @@ h2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #66D9EF;
|
color: $linkStill;
|
||||||
&:hover { color: #A6E22E; }
|
&:hover {color: $linkHover;}
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=color] {
|
input[type=color] {
|
||||||
@@ -58,31 +58,6 @@ input[type=color] {
|
|||||||
background-color: $grey4;
|
background-color: $grey4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
|
||||||
background-color: $grey3;
|
|
||||||
margin: auto;
|
|
||||||
margin-bottom: 10%;
|
|
||||||
width: 70%;
|
|
||||||
padding: 5%;
|
|
||||||
height: max-content;
|
|
||||||
border-radius: $radius;
|
|
||||||
|
|
||||||
* {
|
|
||||||
margin: auto;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline {
|
|
||||||
margin: $standardMargin;
|
|
||||||
* {display: inline-block;}
|
|
||||||
}
|
|
||||||
|
|
||||||
.leftalign * {
|
|
||||||
margin: $standardMargin;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -101,3 +76,5 @@ tr {
|
|||||||
&:nth-child(even) { background-color: #00000033;}
|
&:nth-child(even) { background-color: #00000033;}
|
||||||
&:hover { background-color: rgba(255, 255, 255, 0.281);}
|
&:hover { background-color: rgba(255, 255, 255, 0.281);}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@import "classes";
|
||||||
Reference in New Issue
Block a user