hugo-theme-zirakzigil/static/css/style.css

171 lines
2.4 KiB
CSS
Raw Normal View History

2023-02-20 22:37:42 -05:00
* {
box-sizing: border-box;
}
@media (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
}
2023-02-23 21:55:50 -05:00
2023-02-20 22:37:42 -05:00
/* Header/logo Title */
header {
text-align: center;
background: #ddd;
color: black;
width: 100%;
}
2023-02-20 23:24:22 -05:00
a {
color: black;
}
2023-02-20 22:37:42 -05:00
/* Style the top navigation bar */
nav {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
background-color: #eee;
width: 100%;
}
/* Style the navigation bar links */
nav a {
color: black;
padding: 10px;
text-decoration: none;
text-align: center;
2023-02-23 21:55:50 -05:00
cursor: pointer;
transition: all 0.3s ease;
2023-02-20 22:37:42 -05:00
}
/* Change color on hover */
nav a:hover {
background-color: #ddd;
color: black;
2023-02-23 21:55:50 -05:00
box-shadow: 20px 20px 20px #eee, -20px -20px 20px #fff;
2023-02-20 22:37:42 -05:00
}
2023-02-23 21:55:50 -05:00
nav a:active {
2023-02-20 22:37:42 -05:00
background-color: #ccc;
color: #222;
}
/* Column container */
.row {
display: flex;
flex-wrap: wrap;
}
/* Main column */
main {
flex: 70%;
background-color: white;
padding: 20px;
}
/* Footer */
footer {
padding: 10px;
text-align: center;
background: #ddd;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}
2023-02-24 00:33:21 -05:00
footer a {
padding-top: 5px;
}
2023-02-20 22:37:42 -05:00
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: #ddd;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
}
2023-02-23 21:55:50 -05:00
2023-02-20 22:37:42 -05:00
/* Header/logo Title */
header {
text-align: center;
background: #111;
color: #ddd;
width: 100%;
}
2023-02-20 23:24:22 -05:00
a {
color: #ddd;
}
2023-02-20 22:37:42 -05:00
/* Style the top navigation bar */
nav {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
background-color: #222;
width: 100%;
}
/* Style the navigation bar links */
nav a {
color: #ddd;
padding: 14px 20px;
text-decoration: none;
text-align: center;
2023-02-23 21:55:50 -05:00
cursor: pointer;
transition: all 0.3s ease;
2023-02-20 22:37:42 -05:00
}
/* Change color on hover */
nav a:hover {
2023-02-23 21:55:50 -05:00
box-shadow: 20px 20px 20px #070707, -20px -20px 20px #1b1b1b;
2023-02-20 22:37:42 -05:00
}
2023-02-23 21:55:50 -05:00
nav a:active {
2023-02-20 22:37:42 -05:00
background-color: #ccc;
color: #222;
}
/* Column container */
.row {
display: flex;
flex-wrap: wrap;
}
/* Main column */
main {
flex: 70%;
background-color: #000;
padding: 20px;
}
/* Footer */
footer {
text-align: center;
background: #111;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}
2023-02-24 00:33:21 -05:00
footer a {
padding-top: 5px;
}
2023-02-20 22:37:42 -05:00
}
@media screen and (max-width: 700px) {
2023-02-23 21:55:50 -05:00
2023-02-20 22:37:42 -05:00
.row,
nav {
flex-direction: column;
}
2023-02-23 21:55:50 -05:00
}