151 lines
2.5 KiB
CSS
151 lines
2.5 KiB
CSS
/* Reset podstawowy */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
/* Body */
|
|
body {
|
|
background: #f4f7fc;
|
|
color: #333;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Nagłówek */
|
|
h2 {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
color: #4a4a4a;
|
|
font-size: 2em;
|
|
}
|
|
|
|
/* Kontener modeli */
|
|
#models-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
/* Karta modelu */
|
|
.model-card {
|
|
background: #ffffff;
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.model-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 24px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
/* Nazwa modelu */
|
|
.model-card h3 {
|
|
margin-bottom: 15px;
|
|
color: #1a1a1a;
|
|
font-size: 1.4em;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
/* Opis modelu (.md) */
|
|
.description {
|
|
font-style: italic;
|
|
color: #555;
|
|
margin-bottom: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Formularz */
|
|
form.predict-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
form.predict-form label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
form.predict-form input {
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid #ccc;
|
|
font-size: 0.95em;
|
|
transition: border 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
form.predict-form input:focus {
|
|
border-color: #6c63ff;
|
|
box-shadow: 0 0 5px rgba(108, 99, 255, 0.4);
|
|
outline: none;
|
|
}
|
|
|
|
/* Przycisk */
|
|
form.predict-form button {
|
|
padding: 10px 15px;
|
|
background: #6c63ff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: background 0.2s, transform 0.2s;
|
|
}
|
|
|
|
form.predict-form button:hover {
|
|
background: #574fd6;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Output */
|
|
.output {
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
color: #1a73e8;
|
|
}
|
|
|
|
/* Download linki */
|
|
.download {
|
|
margin-top: 15px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.download a {
|
|
text-decoration: none;
|
|
color: #6c63ff;
|
|
margin-right: 10px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.download a:hover {
|
|
color: #574fd6;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Linie oddzielające karty */
|
|
hr {
|
|
border: none;
|
|
height: 1px;
|
|
background: #e0e0e0;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
/* Responsywność */
|
|
@media (max-width: 600px) {
|
|
h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.model-card {
|
|
padding: 15px;
|
|
}
|
|
|
|
form.predict-form input, form.predict-form button {
|
|
font-size: 0.9em;
|
|
}
|
|
}
|