Home page and news page are finished
This commit is contained in:
55
resources/assets/sass/abstracts/_mixin.scss
vendored
Normal file
55
resources/assets/sass/abstracts/_mixin.scss
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
@use "variables" as *;
|
||||
|
||||
@mixin reset-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
@mixin post_date {
|
||||
display: block;
|
||||
height: 30px;
|
||||
font-family: Nunito, serif;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
line-height: 3.17;
|
||||
letter-spacing: normal;
|
||||
text-align: left;
|
||||
color: #666;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@mixin read_more_link {
|
||||
font-family: Nunito, serif;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
line-height: 1.57;
|
||||
color: #0f259d;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@mixin program_name {
|
||||
font-family: Nunito, serif;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
line-height: 3.17;
|
||||
text-align: left;
|
||||
color: #000;
|
||||
margin-right: 10px;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@mixin sub_title {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
.program_name {
|
||||
@include program_name;
|
||||
}
|
||||
.post_date {
|
||||
@include post_date;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user