86 lines
1.4 KiB
CSS
86 lines
1.4 KiB
CSS
/* static/index.css */
|
|
body {
|
|
background-color: #f0f4f8;
|
|
font-family: Arial, sans-serif;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
background-color: #ffffff;
|
|
padding: 30px 40px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
max-width: 500px;
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
color: #007acc;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
h2 {
|
|
color: #333;
|
|
margin: 15px 0;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
form {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
input[type="text"], input[type="file"] {
|
|
padding: 8px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
button {
|
|
background-color: #007acc;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #005f99;
|
|
}
|
|
|
|
button:active {
|
|
background-color: #004e7a;
|
|
}
|
|
|
|
button:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 5px #007acc;
|
|
}
|
|
|
|
#linkForm, #fileForm {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#linkForm input[type="text"], #fileForm input[type="file"] {
|
|
width: 80%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.view-btn {
|
|
margin-top: 20px;
|
|
display: inline-block;
|
|
}
|