forked from GNUsocial/gnusocial.rocks
300 lines
4.9 KiB
CSS
300 lines
4.9 KiB
CSS
/*
|
|
* -- RESET --
|
|
*/
|
|
|
|
* {
|
|
-webkit-box-sizing: border-box !important;
|
|
-moz-box-sizing: border-box !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input, textarea {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
a img, :link img, :visited img {
|
|
border: none;
|
|
}
|
|
|
|
:focus {
|
|
outline: none;
|
|
}
|
|
|
|
::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
form {
|
|
all: unset;
|
|
}
|
|
|
|
/*
|
|
* -- BASE STYLES --
|
|
* Most of these are inherited from Base, but I want to change a few.
|
|
*/
|
|
body, html {
|
|
scroll-behavior: smooth;
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
height: 100vh;
|
|
font-size: 1rem;
|
|
font-family: 'open_sansregular';
|
|
color: #221E22;
|
|
background-color: #F6F4F6;
|
|
|
|
}
|
|
body * {
|
|
position: relative;
|
|
}
|
|
|
|
/*
|
|
* -- HEADER --
|
|
*/
|
|
header {
|
|
/* maximum z-index found */
|
|
z-index: 2;
|
|
position: fixed;
|
|
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
background: #a22430;
|
|
width: 100%;
|
|
|
|
top: 0;
|
|
left: 0;
|
|
padding: 0.5rem 1rem 0.5rem 1rem;
|
|
|
|
-webkit-box-shadow: 2px 5px 16px 0px rgba(162, 36, 48, 0.4), 17px 26px 15px 0px rgba(0,0,0,0);
|
|
box-shadow: 2px 5px 16px 0px rgba(162, 36, 48, 0.4), 17px 26px 15px 0px rgba(0,0,0,0);
|
|
}
|
|
header ul {
|
|
list-style: none;
|
|
}
|
|
header * {
|
|
font-size: inherit;
|
|
|
|
height: 100vh;
|
|
max-height: 3rem;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.home-menu {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.menu-heading {
|
|
display: flex;
|
|
color: #F6F4F6;
|
|
}
|
|
.menu-heading b {
|
|
}
|
|
.menu-heading img {
|
|
height: 1.25rem;
|
|
}
|
|
.menu-link {
|
|
color: #F6F4F6;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
@media screen and (max-width: 700px) {
|
|
.menu-list {
|
|
font-size: 1rem !important;
|
|
}
|
|
.splash-head {
|
|
font-size: 3rem !important;
|
|
}
|
|
.splash-head img {
|
|
height: 3rem !important;
|
|
width: 3rem !important;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-height: 700px) {
|
|
.content,
|
|
.ribbon-wrapper,
|
|
.content-team {
|
|
top: 0 !important;
|
|
padding: 1rem !important;
|
|
}
|
|
.content-head {
|
|
margin-bottom: 5px;
|
|
}
|
|
.content {
|
|
position: relative !important;
|
|
}
|
|
.g {
|
|
position: sticky !important;
|
|
max-height: min-content !important;
|
|
padding: unset;
|
|
}
|
|
.l-box {
|
|
margin: unset;
|
|
padding: 5px !important;
|
|
}
|
|
.l-box > * {
|
|
margin: unset;
|
|
padding: unset;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* -- BODY --
|
|
*/
|
|
.body-wrapper {
|
|
margin-top: 4rem;
|
|
}
|
|
.body-wrapper a {
|
|
font-family: 'open_sansbold';
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*
|
|
* -- SPLASH --
|
|
*/
|
|
.splash {
|
|
text-align: center;
|
|
padding: 3rem;
|
|
padding-left: 0rem;
|
|
padding-right: 0rem;
|
|
background-color: #F6F4F6;
|
|
}
|
|
.splash-head {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
width: border-box;
|
|
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
font-size: 6rem;
|
|
color: #a22430;
|
|
|
|
cursor: default;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.splash-head img {
|
|
height: 6rem;
|
|
width: 6rem;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
|
|
/*
|
|
* -- CONTENT --
|
|
*/
|
|
.content {
|
|
z-index: 2;
|
|
position: sticky;
|
|
top: 4rem;
|
|
padding: 4rem;
|
|
background-color: #e9eaed;
|
|
}
|
|
.is-center {
|
|
text-align: center;
|
|
}
|
|
.content .g {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
.content .g .l-box {
|
|
flex: 1;
|
|
min-width: 10rem;
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.content ~ * {
|
|
z-index: 3;
|
|
position: sticky;
|
|
top: 4rem;
|
|
}
|
|
|
|
.ribbon-wrapper {
|
|
background-color: #F6F4F6;
|
|
padding: 4rem;
|
|
}
|
|
.ribbon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.ribbon img {
|
|
max-width: 25%;
|
|
max-height: 200px;
|
|
margin-right: 2rem;
|
|
}
|
|
.ribbon-content h2 {
|
|
margin-top: unset;
|
|
}
|
|
|
|
.content-team {
|
|
z-index: 3;
|
|
position: sticky;
|
|
top: 4rem;
|
|
padding: 4rem;
|
|
background-color: #e9eaed;
|
|
}
|
|
.content-team .g {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.content-team .g .l-box-lrg {
|
|
text-align: justify-all;
|
|
padding-inline-end: 2rem;
|
|
}
|
|
.content-team .g .l-box-lrg:first-child {
|
|
flex: 1;
|
|
min-width: 20rem;
|
|
}
|
|
.content-team .g .l-box-lrg:nth-child(2) {
|
|
flex: 1;
|
|
}
|
|
.content-team .g .l-box-lrg:last-child {
|
|
flex: 0.5;
|
|
}
|
|
|
|
#nodes {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
#nodes td, #nodes th {
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
}
|
|
|
|
#nodes tr:nth-child(even){background-color: #F6F4F6;}
|
|
#nodes tr:nth-child(odd){background-color: #EEEEEE;}
|
|
|
|
|
|
#nodes tr:hover {background-color: #e9eaed;}
|
|
|
|
#nodes th {
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
text-align: left;
|
|
background-color: #A22430;
|
|
color: #F6F4F6;
|
|
}
|
|
|
|
.footer {
|
|
padding: 1rem;
|
|
background-color: #333333;
|
|
color: #e9eaed;
|
|
}
|
|
|
|
.footer a {
|
|
font-family: 'open_sansbold';
|
|
font-weight: bold;
|
|
color: #e9eaed;
|
|
}
|