Reorganized styles
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
@import '../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import '../../../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
.timestamp {
|
.timestamp {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import '../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
@@ -17,4 +17,4 @@
|
|||||||
|
|
||||||
.continueLink {
|
.continueLink {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import '../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -48,4 +48,4 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
border-left: 2px solid #2196F3;
|
border-left: 2px solid #2196F3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import '../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -67,4 +67,3 @@
|
|||||||
padding-top: $headerHeight;
|
padding-top: $headerHeight;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import '../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
:global {
|
:global {
|
||||||
/* Custom styling */
|
/* Custom styling */
|
||||||
@@ -56,4 +56,4 @@
|
|||||||
.cm-s-atlas .CodeMirror-activeline-background { background: #DDDCDC; }
|
.cm-s-atlas .CodeMirror-activeline-background { background: #DDDCDC; }
|
||||||
.cm-s-atlas .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
|
.cm-s-atlas .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }
|
||||||
.cm-s-atlas .CodeMirror-placeholder { color: rgba(0, 0, 0, 0.5); font-weight: bold; }
|
.cm-s-atlas .CodeMirror-placeholder { color: rgba(0, 0, 0, 0.5); font-weight: bold; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ import stores from 'stores';
|
|||||||
window.stores = stores;
|
window.stores = stores;
|
||||||
|
|
||||||
import 'normalize.css/normalize.css';
|
import 'normalize.css/normalize.css';
|
||||||
import 'utils/base-styles.scss';
|
import 'styles/base.scss';
|
||||||
import 'fonts/atlas/atlas.css';
|
import 'styles/fonts.css';
|
||||||
import 'assets/styles/github-gist.scss';
|
import 'styles/hljs-github-gist.scss';
|
||||||
import 'assets/styles/codemirror.css';
|
import 'styles/codemirror.scss';
|
||||||
|
|
||||||
import Application from 'scenes/Application';
|
import Application from 'scenes/Application';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import '../../utils/constants.scss';
|
@import '~styles/constants.scss';
|
||||||
|
|
||||||
.preview {
|
.preview {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -43,4 +43,4 @@
|
|||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,12 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
color: $textColor;
|
color: $textColor;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@@ -337,4 +337,4 @@
|
|||||||
|
|
||||||
/* Help users use markselection to safely style text background */
|
/* Help users use markselection to safely style text background */
|
||||||
span.CodeMirror-selectedtext { background: none; }
|
span.CodeMirror-selectedtext { background: none; }
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
$lightGray: #eee;
|
||||||
|
|
||||||
$textColor: #171B35;
|
$textColor: #171B35;
|
||||||
$linkColor: #0C77F8;
|
$linkColor: #0C77F8;
|
||||||
|
|
||||||
@@ -5,4 +7,4 @@ $headerHeight: 42px;
|
|||||||
|
|
||||||
:export {
|
:export {
|
||||||
textColor: $textColor;
|
textColor: $textColor;
|
||||||
}
|
}
|
||||||
@@ -1,48 +1,48 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Grotesk';
|
font-family: 'Atlas Grotesk';
|
||||||
src: url('./AtlasGrotesk-Regular-Web.woff') format('woff');
|
src: url('../fonts/atlas/AtlasGrotesk-Regular-Web.woff') format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Grotesk';
|
font-family: 'Atlas Grotesk';
|
||||||
src: url('./AtlasGrotesk-Medium-Web.woff') format('woff');
|
src: url('../fonts/atlas/AtlasGrotesk-Medium-Web.woff') format('woff');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Grotesk';
|
font-family: 'Atlas Grotesk';
|
||||||
src: url('./AtlasGrotesk-RegularItalic-Web.woff') format('woff');
|
src: url('../fonts/atlas/AtlasGrotesk-RegularItalic-Web.woff') format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Grotesk';
|
font-family: 'Atlas Grotesk';
|
||||||
src: url('./AtlasGrotesk-MediumItalic-Web.woff') format('woff');
|
src: url('../fonts/atlas/AtlasGrotesk-MediumItalic-Web.woff') format('woff');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Grotesk';
|
font-family: 'Atlas Grotesk';
|
||||||
src: url('./AtlasGrotesk-MediumItalic-Web.woff') format('woff');
|
src: url('../fonts/atlas/AtlasGrotesk-MediumItalic-Web.woff') format('woff');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Typewriter';
|
font-family: 'Atlas Typewriter';
|
||||||
src: url('./AtlasTypewriterRegular.woff') format('woff');
|
src: url('../fonts/atlas/AtlasTypewriterRegular.woff') format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atlas Typewriter';
|
font-family: 'Atlas Typewriter';
|
||||||
src: url('./AtlasTypewriterMedium.woff') format('woff');
|
src: url('../fonts/atlas/AtlasTypewriterMedium.woff') format('woff');
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
@@ -70,4 +70,4 @@
|
|||||||
.hljs-link {
|
.hljs-link {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user