Sergiu333 / sabdp

0 stars 0 forks source link

needs-to-be-changed-Noutati #3

Open Sergiu333 opened 2 years ago

Sergiu333 commented 2 years ago

image

DanuCp commented 2 years ago

news.html

`<!DOCTYPE html>

Noutățile catedrei CEITI
` Stilurile le adaugi deasupra la celea care sunt in file-ul acesta; NU STERGE NIMIC DE ACOLO! style.css `/* -------------------------------NEWS-------------------------------- */ .slick-prev, .slick-next{ display: none !important; } .news-block { background-color: #fff; border: 1px solid #c2c0c0; margin: 20px 0 20px; } .news-block-content{ display: flex; gap: 30px; padding: 10px; } @media (max-width:995px) { .news-block-content { flex-direction: column; gap: 10px; } .news-block-img, .news-block-text{ min-width: 100% !important; max-height: 100%; } } .news-block-img { background-size: cover; min-width: 350px; min-height: 250px; } .news-block-img img { width: 100%; height: 100%; } .news-block-content:visited,:hover{ text-decoration: none !important; } .news-block-text { position: relative; display: flex; flex-direction: column; max-width: calc(100% - 370px); color: #000; } .news-block-uppertitle { font-size: 30px; padding-bottom: 10px; } .news-block-title { font-size: 25px; padding: 15px 0 15px; } .news-block-context{ font-size: 17px; padding-bottom: 15px; } .news-block-subtitle { position: absolute; bottom: 0; right: 0; }`