Makes Wassgren's thermo site prettier
Wassgren by dragonvortex
Details
Authordragonvortex
LicenseNo License
Categoryhttps://engineering.purdue.edu/~wassgren/teaching/ME20000/index.html
Created
Updated
Size3.8 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Wassgren
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
@preprocessor stylus
@var color rowColor "Row Color" #092b29
@var color tableFontColor "Table Font Color" #fff
==/UserStyle== */
@-moz-document url-prefix("https://engineering.purdue.edu/~wassgren/teaching/ME20000/index.html") {
mark
body {
background: #151515;
color: white;
font-family: Arial, Helvetica, sans-serif !important;
}
li {
padding: 2px;
}
table {
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
font-size: 0.9em;
min-width: 400px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
table-layout: initial;
border: 1px hidden #000 !important;
white-space: nowrap;
}
table,
th,
td {
if light(rowColor) {
color: darken(rowColor, 55)
}
else {
color: lighten(rowColor, 25)
}
font-size: 20px;
border: 1px hidden black;
font-family: Arial, Helvetica, sans-serif !important;
}
th {
if light(rowColor) {
background-color: darken(rowColor, 15);
}
else {
background-color: lighten(rowColor, 15);
}
if light(rowColor) {
color: darken(rowColor, 55)
}
else {
color: lighten(rowColor, 25)
}
text-align: left;
}
th,
td {
padding: 12px 15px;
text-align: left;
}
tbody tr {
border-bottom: 1px solid #dddddd !important;
}
tr:nth-of-type(even) {
background-color: rowColor;
}
tr:nth-of-type(odd) {
if light(rowColor) {
background-color: darken(rowColor, 7)
}
else {
background-color: lighten(rowColor, 7)
}
}
a {
if light(rowColor) {
color: darken(rowColor, 55)
}
else {
color: lighten(rowColor, 25)
}
}
/*
body {
background: linear-gradient(217deg, rgba(187, 0, 255, .8), rgba(255, 0, 0, 0) 70.71%),
linear-gradient(127deg, rgba(43, 0, 255, .8), rgba(0, 255, 0, 0) 70.71%),
linear-gradient(336deg, rgba(0, 255, 225, .8), rgba(0, 0, 255, 0) 70.71%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}
table {
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
font-size: 0.9em;
min-width: 400px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
table-layout: initial;
border: 1px hidden #000 !important;
white-space: nowrap;
}
table,
th,
td {
font-size: 20px;
border: 1px hidden black;
font-family: Arial, Helvetica, sans-serif !important;
}
th {
background-color: #0098795e;
color: #ffffff;
text-align: left;
}
th,
td {
padding: 12px 15px;
text-align: left;
}
tbody tr {
border-bottom: 1px solid #dddddd !important;
}
tr:nth-of-type(even) {
background-color: #f3f3f347;
}
*/
/*table,
th,
td {
text-align: left;
font-size: 20px;
line-height: 1.125;
font-weight: 600;
letter-spacing: .004em;
font-family: Arial, Helvetica, sans-serif !important;
table-layout: initial;
border: 1px solid #000;
border-collapse: collapse;
width: 100%;
background: tableColor;
color: tableFontColor;
}*/
}