ZwiiCMS/module/news/view/index/index.css

83 lines
1.4 KiB
CSS
Raw Normal View History

2020-11-15 18:39:03 +01:00
/**
* This file is part of Zwii.
*
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
*
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
2021-02-17 13:49:58 +01:00
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
2020-11-15 18:39:03 +01:00
* @license GNU General Public License, version 3
* @link http://zwiicms.fr/
*/
2021-04-05 08:59:24 +02:00
/*
* Module news
*/
/*
.newsTitle {
background-color: #ECEFF1;
padding:5px;
}*/
2021-04-05 08:59:24 +02:00
.newsContent {
overflow: hidden; /* les dépassements seront masqués */
2021-04-09 13:29:11 +02:00
position: relative;
clear: left;
margin-left: 10px;
margin-bottom: 30px;
2021-04-05 08:59:24 +02:00
}
2021-05-15 13:49:04 +02:00
.newsBlur {
width: 100%;
height: 50%;
position: absolute;
bottom: 0;
left: -20px;
z-index: 10;
backdrop-filter: blur(1px);
}
.newsSignature {
margin-right: 10px;
float: right;
font-style: italic;
color: grey;
}
2020-11-16 14:55:46 +01:00
/*
* Flux RSS
*/
#rssFeed {
2020-11-15 18:39:03 +01:00
text-align: right;
2020-11-16 14:55:46 +01:00
float: right;
}
#rssFeed p {
display: inline;
vertical-align: top;
2021-04-05 08:59:24 +02:00
}
@media (min-width: 769px)
{
.col2 {width: 20%;}
.col3 {width: 24%;}
.col4 {width: 32%;}
.col6 {width: 49%;}
.col12 {width: 100%;}
}
@media (max-width: 768px)
{
.col2 {width: 49%;}
.col3 {width: 49%;}
.col4 {width: 49%;}
}
@media (max-width: 480px)
{
.col2 {width: 100%;}
.col3 {width: 100%;}
.col4 {width: 100%;}
}