Files
NP_CSM_Tool/app/static/css/styles.css

208 lines
2.9 KiB
CSS
Raw Normal View History

/* Custom Variables | Color Scheme */
:root {
--primary: #66C92D;
--text-light: #FFFFFF;
--text-dark: #667E8A;
--background: #667E8A;
--background-light: #E5E9EB;
height: 100%;
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
body {
/*background: linear-gradient(
145deg, #81A1C1, #88C0D0, #8FBCBB, #A3BE8C, #EBCB8B, #D08770
);
background-size: 700% 550%;
animation: gradient 7s ease-in-out infinite;*/
color: var(--text-dark);
font-family: 'Space Grotesk', sans-serif;
background-color: var(--background-light);
box-sizing: border-box;
text-align: center;
width: 100%;
}
@keyframes gradient {
0% {
background-position: 0% 79%;
}
50% {
background-position: 100% 22%;
}
100% {
background-position: 0% 79%;
}
}
html {
display: flex;
justify-content: center;
}
input,
select {
width: 200px;
height: 25px;
margin: 2px;
--moz-box-sizing: border-box;
--webkit-box-sizing: border-box;
box-sizing: border-box;
}
/*
.dataframe {
font-size: 11pt;
border-collapse: collapse;
border: 1px solid #66C92D;
width: 100%;
text-align: left !important;
}
.dataframe td, th {
padding: 5px;
}
.dataframe tr:nth-child(even) {
background: #193D4F;
}
.dataframe tr:hover {
background: #096F8E;
cursor: pointer;
}*/
h1 {
font-size: 4rem;
font-weight: bold;
}
h1 > span {
color: var(--primary);
}
h4 {
align-items: center;
text-align: center;
}
img {
height: 80px;
}
main {
margin: 4px;
flex-wrap: wrap;
justify-content: center;
}
.header {
font-weight: 200;
margin-top: 80px;
justify-content: space-between;
}
#currentDate {
color: var(--primary);
}
#currentTime {
font-size: 4rem;
font-weight: 600;
}
@media screen and (max-width: 1250px) {
h1 {
display: flex;
}
.header {
flex-direction: column-reverse;
}
#currentTime {
font-size: 3rem;
margin-bottom: 1rem;
}
#fullDate {
text-align: center;
}
}
ul {
display: flex;
}
.card-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-auto-rows: 100px;
grid-gap: 2rem;
padding: 20px;
}
.card {
background-color: #089FB7;
padding: 5px;
border-radius: 10px;
border: 1px solid #66C92D;
color: #FFFFFF;
}
/*
.card:link,
.card:visited {
color: white;
text-decoration: none;
margin: 1.2rem;
padding: 4rem 8rem;
background-color: var(--background-light);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
cursor: pointer;
position: relative;
outline: none;
transition: 0.1s;
}*/
.card:hover,
.card:focus {
transform: scale(1.02);
}
.card:focus > .card__name {
bottom: 0;
}
.card:hover > .card__name {
bottom: 0;
}
.card__icon {
font-size: 2rem;
padding: 1rem;
display: grid;
}
.card__name {
font-weight: 400;
transform: translate(-50%, -50%);
position: relative;
left: 50%;
transition: 0.1s;
}