202 lines
3.0 KiB
CSS
202 lines
3.0 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: url('/assets/img/bg.webp') no-repeat center center fixed;
|
|
background-size: cover;
|
|
color: #333;
|
|
}
|
|
|
|
nav {
|
|
background-color: #66ccff;
|
|
color: white;
|
|
padding: 15px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
nav .logo {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-size: 24px;
|
|
}
|
|
|
|
nav ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
display: flex;
|
|
}
|
|
|
|
nav ul li {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
nav ul li:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
nav a {
|
|
color: white;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: #ffcc00;
|
|
}
|
|
|
|
.icons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.icon {
|
|
width: 200px;
|
|
margin: 10px;
|
|
text-align: center;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.icon a {
|
|
color: #007BFF;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.icon a:hover {
|
|
color: #ffcc00;
|
|
}
|
|
|
|
.icon p {
|
|
margin-top: 10px;
|
|
color: #777;
|
|
}
|
|
|
|
.icon:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.articles {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: 20px;
|
|
}
|
|
|
|
.left-column, .right-column {
|
|
width: 48%;
|
|
padding: 20px;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.left-column > a, .right-column > a {
|
|
display: inline-block;
|
|
margin-bottom: 10px;
|
|
text-decoration: none;
|
|
color: #007BFF;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.left-column > a:hover, .right-column > a:hover {
|
|
color: #ffcc00;
|
|
}
|
|
|
|
.left-column small, .right-column small {
|
|
display: block;
|
|
margin-top: 10px;
|
|
color: #777;
|
|
}
|
|
|
|
|
|
h2 {
|
|
text-align: center;
|
|
color: #333;
|
|
}
|
|
|
|
h3 {
|
|
color: #007BFF;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
height: 100px;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
input[type="text"], input[type="password"] {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
button {
|
|
background-color: #007BFF;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
small {
|
|
display: block;
|
|
margin-top: 10px;
|
|
color: #777;
|
|
}
|
|
|
|
.comment-section {
|
|
margin-top: 20px;
|
|
padding: 10px;
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
|
|
.page-footer {
|
|
background-color: #fff;
|
|
color: #66ccff;
|
|
text-align: center;
|
|
padding: 1em 0;
|
|
position: relative;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.copyright {
|
|
margin: 0;
|
|
}
|
|
|
|
.commit-id {
|
|
margin: 0;
|
|
}
|
|
|
|
.commit-id span {
|
|
color: #aaa;
|
|
}
|
|
|