wyciagniecie css z plikow html
This commit is contained in:
@@ -1,69 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Tworzenie obrazu{% endblock %}
|
||||
{% block style %}
|
||||
/* styl dla całej strony */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
/* styl dla sekcji formularza */
|
||||
form {
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* styl dla tytułu formularza */
|
||||
form h2 {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* styl dla etykiet formularza */
|
||||
form label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* styl dla pól formularza */
|
||||
form input[type="text"],
|
||||
form input[type="password"],
|
||||
form input[type="number"],
|
||||
form textarea {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 2px solid #ccc;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
form input[type="submit"] {
|
||||
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;
|
||||
}
|
||||
|
||||
form input[type="submit"] {
|
||||
background-color: #3e8e41;
|
||||
}
|
||||
|
||||
form textarea {
|
||||
resize: none;
|
||||
}
|
||||
<link rel="stylesheet" href="/style/create.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
Reference in New Issue
Block a user