You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/client/src/app.css

114 lines
1.8 KiB
CSS

/* variables */
:root {
--clr-primary: #1976d2;
--clr-light-gray: #ddd;
--clr-dark-gray: #aaa;
--clr-darker-gray: #555;
--clr-code: rgba(0, 32, 90, 0.87);
--ff-primary: Roboto;
--ff-code: "Roboto Mono";
}
/* General styling */
body {
font-family: var(--ff-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: var(--ff-code);
color: var(--clr-code);
}
/* Hide monaco editor notifications */
.monaco-workbench > .notifications-toasts.visible {
display: none !important;
}
.loading {
margin: auto;
height: 100%;
display: flex;
align-items: center;
}
.btn {
line-height: inherit;
text-decoration: none;
background: var(--clr-primary);
color: white;
display: inline-block;
border-radius: 0.2em;
padding: 0.2rem .6em;
font-size: 1rem;
margin: 0 .2em;
border: 0;
cursor: pointer;
}
.btn-inverted {
color: var(--clr-primary);
background: white;
}
.btn-disabled, .btn[disabled] {
color: var(--clr-dark-gray);
background: var(--clr-light-gray);
}
.btn-inverted.btn-disabled, .btn-inverted.btn[disabled] {
color: var(--clr-dark-gray);
background: white;
}
em {
font-style: italic;
}
/* App Bar */
#root {
height: 100%;
}
.app {
height: 100%;
display: flex;
flex-direction: column;
}
.app-bar {
flex: 0;
background: var(--clr-primary);
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 1.1em;
filter: drop-shadow(0 0 5px rgba(0,0,0,0.5))
}
.app-bar-title, .app-bar-subtitle {
color: white;
font-weight: 500;
font-size: 1.3rem;
display: inline-block;
margin: 0 1em;
}
.app-content {
flex: 1;
}
.markdown li ul, .markdown li ol {
margin:0 1.5em;
}
.markdown ul, .markdown ol {
margin:0 1.5em 1.5em 1.5em;
}