Template:2024 JU-Krakow/CSS
/* General Styling */ body {
font-family: Arial, sans-serif; color: #333; background-color: #f8f8f8; margin: 0; padding: 0;
}
h1, h2, h3 {
color: #2C3E50; font-weight: bold;
}
h1 {
font-size: 28px; margin-bottom: 10px;
}
h2 {
font-size: 22px; margin-top: 25px; margin-bottom: 15px;
}
h3 {
font-size: 18px; margin-top: 20px; margin-bottom: 10px;
}
/* Image Styling */ img {
max-width: 100%; height: auto;
}
img[alt="Part of the PrymDetect Toolkit"] {
width: 140px; float: left; margin-right: 20px;
}
.center img {
display: block; margin-left: auto; margin-right: auto;
}
/* Section Styling */ section {
margin: 40px auto; padding: 20px; background-color: white; max-width: 1000px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border-radius: 8px;
}
p {
font-size: 16px; line-height: 1.6; margin-bottom: 15px;
}
/* Table Styling */ table {
width: 100%; border-collapse: collapse; margin: 20px 0; background-color: #f9f9f9;
}
th, td {
border: 1px solid #ddd; padding: 12px 15px; text-align: center;
}
th {
background-color: #2C3E50; color: white;
}
td {
font-size: 14px;
}
/* List Styling */ ul {
padding-left: 20px; list-style-type: square;
}
ul ul {
list-style-type: circle;
}
li {
margin-bottom: 5px;
}
/* Blockquote Styling */ blockquote {
padding: 10px 20px; margin: 20px 0; background-color: #eee; border-left: 5px solid #2C3E50;
}
/* Centered Content */ .center {
text-align: center;
}
.center table {
margin: 0 auto;
}
.center img {
max-width: 600px; width: 100%;
}
/* Footer Style */ footer {
padding: 20px; text-align: center; background-color: #2C3E50; color: white; position: relative; bottom: 0; width: 100%;
}
/* Media Queries */ @media screen and (max-width: 768px) {
img[alt="Part of the PrymDetect Toolkit"] { float: none; margin: 0 auto 20px; display: block; }
section { padding: 15px; }
th, td { padding: 8px; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
}