mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Server-side less compilation
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
|
||||
@BASE_COLOR: #333337;
|
||||
@BASE_COLOR_DARK: rgba(10,10,10,1);
|
||||
@BASE_COLOR_DARK: #0a0a0a;
|
||||
@BASE_COLOR_LIGHT: #444447;
|
||||
|
||||
@TEXT_COLOR: beige;
|
||||
@@ -23,7 +23,9 @@
|
||||
@BUTTON_FOCUS_FG_COLOR: @BASE_COLOR;
|
||||
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
|
||||
//@import url('https://fonts.googleapis.com/css?family=Ubuntu');
|
||||
|
||||
|
||||
body {
|
||||
background-color: @BASE_COLOR;
|
||||
color: @TEXT_COLOR;
|
||||
|
||||
45
website/less/grisonsfont.less
Normal file
45
website/less/grisonsfont.less
Normal file
@@ -0,0 +1,45 @@
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKcg72j00.woff2) format('woff2');
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKew72j00.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKcw72j00.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKfA72j00.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKcQ72j00.woff2) format('woff2');
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKfw72.woff2) format('woff2');
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
@import "grisons";
|
||||
@import "website/less/grisons";
|
||||
|
||||
body {
|
||||
padding:15px;
|
||||
@@ -61,7 +61,7 @@ div.footer {
|
||||
position:fixed;
|
||||
height:20px;
|
||||
/**width:100%;**/
|
||||
background-color:fadeout(@BASE_COLOR_DARK,10%);
|
||||
background-color:@BASE_COLOR_DARK;
|
||||
bottom:0px;
|
||||
left:0px;
|
||||
right:0px;
|
||||
@@ -170,7 +170,7 @@ div.searchresults table.searchresults_tracks td span:nth-child(1) {
|
||||
position:fixed;
|
||||
/*height:30px;*/
|
||||
/**width:100%;**/
|
||||
background-color:fadeout(@BASE_COLOR_DARK,10%);
|
||||
background-color:@BASE_COLOR_DARK;
|
||||
bottom:0px;
|
||||
left:0px;
|
||||
right:0px;
|
||||
|
||||
Reference in New Issue
Block a user