removed bold + larger text on hover bc of wiggle :(

This commit is contained in:
2023-06-02 19:20:33 +01:00
parent ac9a002d48
commit 072a08dbe1

152
style.css
View File

@@ -1,14 +1,56 @@
* { /*regular text (body, p, b, h*, ) styles*/
* {
box-sizing: border-box; box-sizing: border-box;
margin: 0px; margin: 0px;
} }
b { b {
color: #ff6200 color: #ff6200
} }
a { a {
color: #007AFF color: #007AFF
}
body {
background-color: #f2f2f2;
color: #222;
font-family: system-ui;
}
p {
font-size: 20px;
padding-left: 20px;
padding-right: 20px;
}
h1 {
font-size: 40px;
font-weight: 750;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 20px;
padding-right: 20px;
}
h2 {
font-size: 30px;
font-weight: 400;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 20px;
padding-right: 20px;
}
h3 {
font-size: 25px;
font-weight: 400;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 20px;
padding-right: 20px;
}
/* regular text (body, p, b, h*, ) styles*/
.contentPush{
height: 65px;
} }
.bar {
/* Bar styling*/
.bar {
width: 100%; width: 100%;
position: fixed; position: fixed;
list-style-type: none; list-style-type: none;
@@ -23,78 +65,33 @@ a {
-webkit-box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.25); -webkit-box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.25);
box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.25); box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.25);
} }
.barItem {
.barItem {
float: left; float: left;
} text-align: center;
}
.barItem h1 { .barItem h1 {
font-size: 20px; font-size: 20px;
padding: 9px; padding: 9px;
} }
.barItem * {
.barItem p { color: #ddd;
text-decoration: none;
display:block;
transition: all 0.2s;
font-size: 16px; font-size: 16px;
padding: 12px; padding: 12px;
} }
.barItem a { .barItem *:hover {
display: block;
color: #222;
text-align: center;
padding: 12px;
text-decoration: none;
transition: all 0.2s;
}
.barItem a:hover {
background-color: #222; background-color: #222;
color: #ddd; color: #ddd;
font-weight: 600;
font-size: 20px;
padding: 9px;
-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5); box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
} }
.contentPush{ /* Bar styling*/
height: 65px;
}
body {
background-color: #f2f2f2;
color: #222;
font-family: system-ui;
}
p {
font-size: 20px;
padding-left: 20px;
padding-right: 20px;
}
h1 {
font-size: 40px;
font-weight: 750;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 20px;
padding-right: 20px;
}
h2 {
font-size: 30px;
font-weight: 400;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 20px;
padding-right: 20px;
}
h3 {
font-size: 25px;
font-weight: 400;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 20px;
padding-right: 20px;
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
background-color: #222; background-color: #222;
@@ -105,34 +102,23 @@ h3 {
-moz-box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.25); -moz-box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.25);
box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.25); box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.25);
} }
.barItem a { .barItem *:hover {
color: #ddd;
}
.barItem a:hover {
background-color: #ddd; background-color: #ddd;
color: #222; color: #222;
-webkit-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.5);
-moz-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.5);
box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.5);
} }
#transaction { #transaction {
background-color: #222; background-color: #222;
} }
} }
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
body {
width: 100%;
}
img { img {
width: 100%; width: 100%;
} }
p { p {
width: 100%; width: 100%;
} }
h1 {
width: 100%;
}
h2 {
width: 100%;
}
h3 {
width: 100%;
}
} }