Home page and news page are finished
This commit is contained in:
2
resources/assets/sass/abstracts/_fonts.scss
vendored
2
resources/assets/sass/abstracts/_fonts.scss
vendored
@@ -1 +1,3 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap')
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -41,3 +41,6 @@ $panel-default-heading-bg: #fff;
|
||||
$nav-text-color: #1a1a1a;
|
||||
$nav-text-weight: bold;
|
||||
$nav-text-size: 14px;
|
||||
|
||||
// News
|
||||
$news-banner-text-color: #fff;
|
||||
Reference in New Issue
Block a user