refactor css
This commit is contained in:
35
static/style/video-card.css
Normal file
35
static/style/video-card.css
Normal file
@@ -0,0 +1,35 @@
|
||||
.video-card {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
padding: 15px;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.video-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.video-info {
|
||||
font-size: 14px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.video-options {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.video-options button {
|
||||
background-color: #4CAF50;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
margin-right: 5px;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
}
|
@@ -5,42 +5,6 @@
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.video-card {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
padding: 15px;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.video-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.video-info {
|
||||
font-size: 14px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.video-options {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.video-options button {
|
||||
background-color: #4CAF50;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
margin-right: 5px;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* narrower than 600px */
|
||||
@media (max-width: 600px) {
|
||||
.video-list {
|
||||
|
@@ -8,6 +8,7 @@
|
||||
<title>Downloaded Videos</title>
|
||||
<link rel="stylesheet" href="/static/style/common.css">
|
||||
<link rel="stylesheet" href="/static/style/videos.css">
|
||||
<link rel="stylesheet" href="/static/style/video-card.css">
|
||||
{{template "footer-css" .}}
|
||||
</head>
|
||||
|
||||
|
Reference in New Issue
Block a user