mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-25 01:45:35 +08:00
Use wrapper class for app styling (#125)
This commit is contained in:
committed by
Bálint Szekeres
parent
27208f2559
commit
c9f81d72e1
7
resources/scss/_app.scss
Normal file
7
resources/scss/_app.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
#app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
@@ -1,7 +1,9 @@
|
||||
#app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
}
|
||||
|
39
resources/scss/_fonts.scss
Normal file
39
resources/scss/_fonts.scss
Normal file
@@ -0,0 +1,39 @@
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Regular.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Regular.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Bold.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Light.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Light.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Medium.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Medium.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-LightItalic.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-LightItalic.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
}
|
@@ -1,20 +0,0 @@
|
||||
@import 'variables';
|
||||
|
||||
@import 'vendor/bootstrap';
|
||||
@import 'vendor/highlight-js';
|
||||
@import 'vendor/angular-tooltips';
|
||||
@import 'vendor/notie';
|
||||
|
||||
@import 'typography';
|
||||
|
||||
@import 'body';
|
||||
@import 'header';
|
||||
@import 'steps';
|
||||
@import 'main';
|
||||
@import 'codes';
|
||||
@import 'sidebar';
|
||||
@import 'footer';
|
||||
|
||||
@import 'utilities';
|
||||
|
||||
@import 'layout/do';
|
@@ -1,45 +1,3 @@
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Regular.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Regular.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Bold.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Light.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Light.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-Medium.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-Medium.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sailec';
|
||||
src: url('../fonts/Sailec-LightItalic.woff2') format('woff2'),
|
||||
url('../fonts/Sailec-LightItalic.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#app.layout-do {
|
||||
font-family: 'Sailec', sans-serif;
|
||||
|
||||
|
24
resources/scss/style.scss
Normal file
24
resources/scss/style.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
@import 'variables';
|
||||
@import 'body';
|
||||
@import 'fonts';
|
||||
|
||||
.do-app {
|
||||
@import 'vendor/bootstrap';
|
||||
@import 'vendor/highlight-js';
|
||||
@import 'vendor/angular-tooltips';
|
||||
@import 'vendor/notie';
|
||||
|
||||
@import 'typography';
|
||||
|
||||
@import 'app';
|
||||
@import 'header';
|
||||
@import 'steps';
|
||||
@import 'main';
|
||||
@import 'codes';
|
||||
@import 'sidebar';
|
||||
@import 'footer';
|
||||
|
||||
@import 'utilities';
|
||||
|
||||
@import 'layout/do';
|
||||
}
|
Reference in New Issue
Block a user