188 lines
3.0 KiB
CSS
188 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;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.container h1 {
|
||
|
text-align: center;
|
||
|
margin-bottom: 20px;
|
||
|
color: #66ccff;
|
||
|
}
|
||
|
|
||
|
#loveForm {
|
||
|
margin-bottom: 20px;
|
||
|
background-color: rgba(255, 255, 255, 0.9);
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
#loveForm textarea {
|
||
|
width: 100%;
|
||
|
height: 100px;
|
||
|
border-radius: 5px;
|
||
|
border: 1px solid #ccc;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
resize: vertical;
|
||
|
}
|
||
|
|
||
|
#loveForm button[type="submit"] {
|
||
|
background-color: #007BFF;
|
||
|
color: white;
|
||
|
border: none;
|
||
|
padding: 10px 15px;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s;
|
||
|
}
|
||
|
|
||
|
#loveForm button[type="submit"]:hover {
|
||
|
background-color: #0056b3;
|
||
|
}
|
||
|
|
||
|
#loveWall {
|
||
|
margin-top: 20px;
|
||
|
background-color: rgba(255, 255, 255, 0.9);
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.love-message {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 10px;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.love-message strong {
|
||
|
margin-right: 10px;
|
||
|
}
|
||
|
|
||
|
.comment-section {
|
||
|
margin-top: 20px;
|
||
|
padding: 10px;
|
||
|
border-top: 1px solid #ddd;
|
||
|
}
|
||
|
|
||
|
.comment {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 10px;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.comment strong {
|
||
|
margin-right: 10px;
|
||
|
}
|
||
|
|
||
|
.commentForm {
|
||
|
margin-top: 10px;
|
||
|
}
|
||
|
|
||
|
.commentForm textarea {
|
||
|
width: 100%;
|
||
|
min-height: 50px;
|
||
|
border-radius: 5px;
|
||
|
border: 1px solid #ccc;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
resize: vertical;
|
||
|
}
|
||
|
|
||
|
.commentForm button[type="submit"] {
|
||
|
background-color: #007BFF;
|
||
|
color: white;
|
||
|
border: none;
|
||
|
padding: 10px 15px;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s;
|
||
|
}
|
||
|
|
||
|
.commentForm button[type="submit"]:hover {
|
||
|
background-color: #0056b3;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|