Files
neon443.github.io/style.css

126 lines
2.4 KiB
CSS

/*regular text (body, p, b, h*) styles*/
* {
box-sizing: border-box;
margin: 0px;
}
b {
color: #ff6200
}
a {
color: #007AFF
}
body {
background-color: #ddd;
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 styling*/
.bar {
width: 100%;
position: fixed;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: rgba(255, 255, 255, 0.25);
-webkit-backdrop-filter: blur(2.5px);
-moz-backdrop-filter: blur(2.5px);
backdrop-filter: blur(2.5px);
-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
}
.barItem {
float: left;
text-align: center;
}
.barItem * {
color: #222;
text-decoration: none;
display:block;
transition: all 0.2s;
font-size: 16px;
padding: 12px;
}
.barItem h1 {
font-size: 20px;
padding: 9px;
}
.barItem a:hover {
background-color: #111;
color: #eee;
-webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25);
}
/* Bar styling*/
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
color: #ddd;
}
.bar {
background-color: rgba(0, 0, 0, 0.25);
-webkit-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25);
-moz-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25);
box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25);
}
.barItem * {
color: #ddd;
}
.barItem a:hover {
background-color: #eee;
color: #111;
-webkit-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25);
-moz-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25);
box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25);
}
}
@media screen and (max-width: 600px) {
img {
width: 100%;
}
p {
width: 100%;
}
}