added basic stylesheet

This commit is contained in:
s5260822 2025-03-18 17:37:02 +01:00
parent 1339849b28
commit e8d4ca7666
6 changed files with 143 additions and 0 deletions

View file

@ -0,0 +1,134 @@
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styling */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f9;
color: #333;
line-height: 1.6;
padding: 20px;
}
/* Heading Styling */
h1 {
text-align: center;
font-size: 2.5rem;
color: #0044cc;
margin-bottom: 30px;
}
/* Form Styling */
form {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 30px;
}
input[type="text"] {
padding: 10px;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
width: 200px;
}
button {
padding: 10px 20px;
font-size: 1rem;
background-color: #0044cc;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #0056b3;
}
/* Table Styling */
table {
width: 100%;
border-collapse: collapse;
margin-top: 30px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f4f4f9;
color: #0044cc;
font-size: 1.2rem;
}
td {
font-size: 1rem;
}
td a {
text-decoration: none;
color: #0044cc;
font-weight: bold;
transition: color 0.3s ease;
}
td a:hover {
color: #0056b3;
}
tbody tr:hover {
background-color: #f9f9f9;
}
/* Responsive Styling */
@media (max-width: 768px) {
table, th, td {
font-size: 0.9rem;
}
form {
flex-direction: column;
align-items: center;
}
input[type="text"] {
width: 100%;
max-width: 300px;
}
button {
width: 100%;
max-width: 150px;
}
}
.add-member-button {
background-color: #28a745; /* Green color */
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-size: 16px;
display: inline-block;
transition: background-color 0.3s ease;
}
/* Change button color on hover */
.add-member-button:hover {
background-color: #218838; /* Darker green on hover */
}

View file

@ -1,3 +1,6 @@
<head>
<link rel="stylesheet" href="index.css">
</head>
<#include "header.ftl">
<h1>About</h1>
<#include "footer.ftl">

View file

@ -1,3 +1,6 @@
<head>
<link rel="stylesheet" href="index.css">
</head>
<#include "header.ftl">
<#include "footer.ftl">

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="de">
<head>
<link rel="stylesheet" href="index.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Abgeordnete Übersicht</title>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="de">
<head>
<link rel="stylesheet" href="index.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${p.vorname} ${p.nachname} (${p.partei})</title>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="de">
<head>
<link rel="stylesheet" href="index.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rede von ${s.speakerName} <#if s.fraction??> (${s.fraction}) </#if></title>