news page
This commit is contained in:
parent
50a8b5389f
commit
05cabdf108
2 changed files with 71 additions and 11 deletions
31
style.css
31
style.css
|
|
@ -18,7 +18,12 @@ h1{
|
|||
h2{
|
||||
font-family: "Geist mono";
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
font-size: 32px;
|
||||
}
|
||||
h3{
|
||||
font-family: "Geist mono";
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
}
|
||||
p, a, ul, li{
|
||||
font-family: "Geist mono";
|
||||
|
|
@ -124,7 +129,7 @@ p, a, ul, li{
|
|||
position: relative;
|
||||
}
|
||||
.navigation{
|
||||
padding-top: 50px;
|
||||
padding-top: 48px;
|
||||
width: 130px;
|
||||
margin:0 auto;
|
||||
}
|
||||
|
|
@ -140,10 +145,20 @@ p, a, ul, li{
|
|||
|
||||
/*новости и посты*/
|
||||
.post_box{
|
||||
|
||||
width: 90%;
|
||||
padding-bottom: 10px;
|
||||
border: solid 1px #eee;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: solid 1px rgba(238, 238, 238, 0.2); /*обводка новостного дропа*/
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.post_name{
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.post_description{
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.multiline{
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
-webkit-line-clamp: 2; /* Ограничение на 2 строки */
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue