cbax_dev/static/css/styles.css

166 lines
2.6 KiB
CSS
Raw Normal View History

2024-01-09 05:33:51 +00:00
@font-face {
font-family: 'Intel One Mono Regular';
font-style: normal;
font-weight: normal;
src: local('Intel One Mono Regular'), url('/res/woff/im.woff2') format('woff2');
}
@font-face {
font-family: 'Sans Forgetica Regular';
font-style: normal;
font-weight: normal;
src: local('Sans Forgetica Regular'), url('/res/woff/sf.woff') format('woff');
}
body {
background: #00fcff;
padding: 0px;
margin: 0px;
font-family: 'Intel One Mono Regular';
color: #ededed;
}
h1 {
font-family: 'Sans Forgetica Regular';
font-size: 4em;
color: #00fcff;
text-shadow: #ededed 3px -3px;
margin-top: 2svh;
margin-bottom: 2svh;
}
span {
display: inline-block;
}
.vl {
border-left: 1px solid #ededed;
border-right: 1px solid #ededed;
margin-left: 1ch;
margin-right: 1ch;
height: 4rem;
}
.icon {
width: 4rem;
height: 4rem;
}
.container {
display: flex;
flex-flow: column;
height: 100svh;
}
.links {
display: flex
}
figure {
display: inline-block;
margin: 20px; /* adjust as needed */
}
figure img {
width: 10vw;
height: auto;
border-radius: 20px;
vertical-align: top;
}
figure figcaption {
width: 10vw;
text-align: center;
}
.main {
flex: 1 1 auto;
border-radius: 20px;
margin-top: 1svh;
margin-left: 1svh;
margin-right: 1svh;
margin-bottom: 1svh;
padding: 1svh;
/*height: 78svh;*/
background: #3c3c3c;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card {
display: flex;
flex-wrap: wrap;
}
.article {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 1vw;
}
footer {
flex: 0 1 15svh;
border-radius: 20px;
margin-left: 1svh;
margin-right: 1svh;
margin-bottom: 1svh;
padding: 1svh;
background: #3c3c3c;
display: flex;
/*height: 15svh;
min-height: 32px;*/
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 1em;
}
a {
color: #ededed;
text-decoration: underline #00fcff;
}
a:visited {
color: #444;
text-decoration: underline #00fcff;
}
.fancy {
background-image: linear-gradient(
to right,
#00fcff,
#00fcff 50%,
#ededed 50%
);
text-decoration: underline #00fcff;
background-size: 200% 100%;
background-position: -100%;
display: inline-block;
padding: 5px 0;
position: relative;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
transition: all 0.3s ease-in-out;
}
.fancy:before {
content: '';
background: #00fcff;
display: block;
position: absolute;
bottom: -3px;
left: 0;
width: 0;
height: 3px;
transition: all 0.3s ease-in-out;
}
.fancy:hover {
background-position: 0;
}
.fancy:hover::before {
width: 100%;
}