created web files

This commit is contained in:
2025-12-25 17:07:49 +08:00
parent a4696f7e15
commit e657fd1be5
4 changed files with 202 additions and 0 deletions

107
static/styles.css Executable file
View File

@@ -0,0 +1,107 @@
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f4f9;
color: #333;
text-align: center;
padding: 20px;
}
.container {
max-width: 800px;
margin: auto;
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
table.container {
background: transparent;
box-shadow: none;
}
h1[id="title"] {
color: #ff69b4;
border-bottom: 3px solid #ff69b4;
padding-bottom: 10px;
margin-bottom: 20px;
}
#current-date {
font-size: 1.2em;
margin-bottom: 25px;
color: #555;
}
.event-card {
border: 1px solid #ddd;
padding: 15px;
margin-bottom: 15px;
border-radius: 8px;
text-align: left;
background-color: #fff9fc;
transition: transform 0.2s;
}
.event-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.event-title {
font-size: 1.5em;
color: #333;
margin-bottom: 5px;
}
.event-year {
font-size: 0.9em;
color: #ff69b4;
font-weight: bold;
display: inline-block;
margin-left: 10px;
}
#events-list {
margin-top: 20px;
}
#events-list p {
font-style: normal;
color: #888;
}
table {
margin-left: auto;
margin-right: auto;
margin-bottom: auto;
margin-top: auto;
}
input[id='submit'] {
margin-left: auto;
margin-right: auto;
}
input[type='text'],
input[type='date'] {
border-radius: 5px;
border: 0 0.5px 0.5px rgba(0, 0, 0, 0.1);
width: 100%;
}
.message {
color: rgba(255, 8, 10, 0.8);
}
.hide {
display: none;
}
#time-comment {
font-size: 11px;
color: #777;
margin-top: 25px;
margin-bottom: 0;
}