trianta.dev/default.css

156 lines
2.4 KiB
CSS
Raw Normal View History

2024-12-09 16:35:53 -06:00
/*
* base text: #FAFAFA
* important text: #CB3737
* first background: #EE6F57
* second background: #E3E3E3
*/
body {
2024-08-09 18:19:52 -05:00
font-family: Arial, sans-serif;
2024-12-09 16:34:23 -06:00
color: #FAFAFA;
line-height: 1.5;
margin-inline: auto;
2024-08-09 18:19:52 -05:00
margin: 0px auto;
}
canvas {
margin: auto;
}
2024-12-09 16:11:21 -06:00
.inside {
2024-12-09 16:14:30 -06:00
min-height: 800px;
2024-12-09 16:11:21 -06:00
max-width: 80rem;
margin: 0px auto;
}
.first {
2024-12-09 16:34:23 -06:00
background: #EE6F57;
2024-12-09 16:11:21 -06:00
}
.second {
2024-12-09 16:34:23 -06:00
background: #E3E3E3;
2024-12-09 16:11:21 -06:00
}
2024-08-09 18:19:52 -05:00
#navigation {
2024-11-25 19:07:25 -06:00
text-align: right;
2024-11-25 22:42:27 -06:00
padding: 6px;
2024-12-09 15:37:45 -06:00
max-width: inherit;
margin: auto;
2024-11-25 23:22:17 -06:00
display: flex;
}
#navBarLeft {
text-align: left;
2024-11-25 23:27:21 -06:00
padding: 4px;
2024-11-25 23:22:17 -06:00
margin-right: auto;
}
.navItem {
2024-11-26 00:43:25 -06:00
color: #4c4f69;
2024-08-09 18:19:52 -05:00
margin: 6px;
margin-top: 0px;
2024-11-25 18:13:39 -06:00
padding: 8px;
2024-11-25 23:22:17 -06:00
display: inline-block;
}
#top {
margin-bottom: 6px;
border-radius: 16px;
border-top-left-radius: 0px;
margin: 4px auto;
margin-top: 0px;
height: 55px;
}
.canvas {
width: 780px;
height: 600px;
2024-11-25 18:35:59 -06:00
margin: auto;
}
.cardStats {
font-size: 18px;
}
h1 {
2024-12-09 16:11:21 -06:00
max-width: 650px;
text-align: left;
padding: 8px 1.5rem;
2024-12-09 16:34:23 -06:00
color: #CB3737;
2024-12-09 15:45:49 -06:00
}
h2 {
2024-11-25 23:37:18 -06:00
width: 400px;
text-align: center;
2024-11-25 23:37:18 -06:00
margin: auto;
padding: 8px;
2024-11-25 23:37:18 -06:00
background: #e6e9ef;
border-radius: 24px;
}
2024-12-09 15:45:49 -06:00
h3 {
text-align: center;
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
2024-08-09 18:19:52 -05:00
margin: 0px;
}
a {
text-decoration: none;
}
a:hover, a:active {
border-radius: 9px;
text-decoration: underline;
}
a.button {
margin: 14px 10%;
padding: 4px 12px;
display: inline-block;
text-decoration: none;
width: 80px;
text-align: center;
}
@keyframes hover {
0% { box-shadow: 0 0 8px 4px #eff1f5; }
15% { box-shadow: 0 0 8px 4px #bcc0cc; }
50% { box-shadow: 0 0 8px 4px #7287fd; }
85% { box-shadow: 0 0 8px 4px #bcc0cc; }
100% { box-shadow: 0 0 8px 4px #eff1f5; }
}
@keyframes card {
0% { box-shadow: 0 0 8px 4px #eff1f5; }
2024-11-26 17:45:19 -06:00
50% { box-shadow: 0 0 8px 4px #fe640b; }
100% { box-shadow: 0 0 8px 4px #eff1f5; }
}
.card {
background: #ccd0da;
text-align: center;
border-radius: 18px;
animation: card 3s linear infinite;
2024-12-09 15:37:45 -06:00
width: 78rem;
height: 800px;
margin: 0px auto;
margin-top: 25px;
margin-bottom: 25px;
}
.cardTop {
2024-11-25 22:48:00 -06:00
background: #acb0be;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
}
#pong {
margin: 6px;
border-radius: 9px;
background: #494d64;
}