ghost-portal/packages/ui-app/src/styles/app.css
Jaco Greeff 2e8b73fe90
Node info & explorer info density adj. (#635)
* Poll for system_health (keep-alive)

* Node info & exp,orer info density adj.
2019-01-22 10:24:00 +01:00

116 lines
1.6 KiB
CSS

/* Copyright 2017-2019 @polkadot/ui-app authors & contributors
/* This software may be modified and distributed under the terms
/* of the Apache-2.0 license. See the LICENSE file for details. */
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
}
#root {
color: #4e4e4e;
font-family: sans-serif;
height: 100%;
}
h1, h2, h3, h4, h5 {
color: rgba(0, 0, 0, .6);
font-family: sans-serif;
font-weight: 100;
}
h1 {
text-transform: lowercase;
}
h3, h4, h5 {
margin-bottom: 0.25rem;
}
/*
a:hover {
color: #D75EA1;
}
*/
main {
padding: 1em 2em;
min-height: 100vh;
}
main > section {
margin-bottom: 2em;
}
article {
background: white;
border: 1px solid #f2f2f2;
border-left-width: 0.25rem;
border-radius: 0.25rem;
/* border-top-width: 1px; */
margin: 0.5rem;
padding: 1rem 1.5rem;
text-align: left;
&.padded {
padding: 1rem 2.5rem;
}
&.error {
background: #fff6f6;
border-color: #e0b4b4;
color: #9f3a38;
}
&.warning {
background: #ffffe0;
border-color: #eeeeae;
}
> ul {
margin: 0;
padding: 0;
}
}
header,
summary {
margin-bottom: 2em;
text-align: center;
}
/* header {
background: #f5f5f5;
margin: -1em -2em 2em;
padding: 1em 2em 0;
} */
header+header,
header+summary,
summary+header {
margin-top: -1em;
}
summary {
align-items: stretch;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
summary article {
color: rgba(0, 0, 0, 0.6);
flex: 0 1 auto;
text-align: left;
}
summary > section {
display: flex;
flex: 0 1 auto;
text-align: left;
}