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

86 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-03-30 17:39:15 +02:00
/*
* Module news
*/
/*
.newsTitle {
background-color: #ECEFF1;
padding:5px;
}*/
2021-04-01 18:00:49 +02:00
.newsContent {
overflow: hidden; /* les dépassements seront masqués */
2021-04-01 19:45:02 +02:00
position: relative;
}
2021-04-03 16:24:25 +02:00
2021-04-01 19:45:02 +02:00
.newsBlur {
2021-04-01 19:53:12 +02:00
position: absolute;
bottom: -5%;
margin: -10px;
2021-04-01 19:45:02 +02:00
height: 20%;
2021-04-01 19:53:12 +02:00
width: 110%;
2021-04-02 10:07:56 +02:00
backdrop-filter: blur(1px);
-webkit-backdrop-filter: blur(1px);
2021-04-01 18:00:49 +02:00
}
.newsContent {
clear: left;
margin-left: 10px;
2021-04-03 16:10:58 +02:00
margin-bottom: 5px;
}
.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-03-30 17:39:15 +02:00
}
2021-04-01 17:31:18 +02:00
@media (min-width: 769px)
{
.col2 {width: 20%;}
.col3 {width: 24%;}
.col4 {width: 32%;}
.col6 {width: 49%;}
.col12 {width: 100%;}
2021-03-30 17:39:15 +02:00
}
2021-04-01 17:31:18 +02:00
@media (max-width: 768px)
{
2021-03-30 17:39:15 +02:00
.col2 {width: 49%;}
2021-04-01 17:31:18 +02:00
.col3 {width: 49%;}
2021-03-30 17:39:15 +02:00
.col4 {width: 49%;}
}
2021-04-01 17:31:18 +02:00
@media (max-width: 480px)
{
2021-03-30 17:39:15 +02:00
.col2 {width: 100%;}
2021-04-01 17:31:18 +02:00
.col3 {width: 100%;}
2021-03-30 17:39:15 +02:00
.col4 {width: 100%;}
2021-04-01 18:00:49 +02:00
}