wyciagniecie css z plikow html

This commit is contained in:
2023-04-24 10:22:17 +02:00
parent d397dfa11f
commit 913af1fc76
9 changed files with 173 additions and 161 deletions

View File

@@ -1,60 +1,9 @@
{% extends "base.html" %}
{% block title %}Panel administracyjny{% endblock %}
{% block style %}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 0;
}
h1 {
font-size: 32px;
font-weight: bold;
color: #333;
margin: 20px 0;
}
table {
border-collapse: collapse;
margin: 20px 0;
width: 100%;
}
table th, table td {
padding: 10px;
text-align: left;
vertical-align: middle;
border: 1px solid #ccc;
}
table th {
background-color: #eee;
font-weight: bold;
}
table tr:hover {
background-color: #f0f0f0;
}
button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 0;
cursor: pointer;
}
button:hover {
background-color: #3e8e41;
}
{% endblock %}
<link rel="stylesheet" href="/style/index.css" />
{% endblock %}
{% block content %}
<div class="container">