gnu-social/public/assets/css/network/public_small.css
2021-04-14 15:37:22 +00:00

246 lines
4.8 KiB
CSS

.content {
display: flex;
flex-wrap: wrap;
margin-top: calc(4 * var(--main-size));
justify-content: center;
align-items: center;
margin-left: 0;
margin-right: 0;
margin-bottom: var(--unit-size);
}
.content .main {
width: 100%;
margin-left: 1%;
margin-right: 1%;
margin-top: var(--unit-size);
border-radius: var(--small-size);
background-color: var(--bg3);
border: solid 2px var(--accent-low);
}
.main-nav {
order: 1;
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
flex: 1;
background-color: var(--bg1);
padding: var(--medium-size);
font-family: var(--head-font);
border-radius: var(--small-size) var(--small-size) 0 0;
}
.main-nav ul {
display: flex;
align-items: stretch;
justify-content: space-evenly;
width: 100%;
font-size: var(--medium-size);
margin-left: 1%;
margin-right: 1%;
padding: 0;
}
.main-nav li {
display: block;
flex: 0 1 auto;
list-style-type: none;
font-weight: 700;
}
.notes-wrap .main-nav ul {
font-size: var(--unit-size);
}
.active {
color: var(--fg) !important;
font-weight: 700;
}
.main-nav a {
color: var(--accent);
}
.main-nav a:hover {
color: var(--fg);
transition: all 0.8s ease;
}
/* notices */
.notes {
display: flex;
flex-wrap: wrap;
}
.notes-wrap {
display: flex;
flex-wrap: wrap;
font-size: var(--medium-size);
border-radius: var(--small-size);
background-color: var(--bg3);
box-shadow: var(--shadow);
margin: 2%;
border: solid 2px var(--accent-low);
}
.notes-wrap .timeline {
order: 3;
width: 100%;
}
.notes-wrap .timeline .notes > div {
margin: 2% 2% 0 2%;
border-radius: var(--small-size);
width: 100%;
}
.notes-wrap .timeline .notes > div:last-child {
margin: 2%;
}
.notes-wrap .main-nav {
width: 100%;
font-size: var(--unit-size);
}
.notice {
display: flex;
flex-wrap: wrap;
border: solid 2px var(--accent-low);
border-radius: var(--small-size);
}
.notice-info {
background-color: var(--bg1);
box-sizing: border-box;
padding: 5px;
border-radius: var(--small-size) var(--small-size) 0 0;
display: flex;
align-items: center;
flex-grow: 1;
flex-shrink: 0;
width: 100%;
}
.notice-info a img {
width: calc(2 * var(--unit-size));
height: auto;
}
.notice-content {
word-break: break-word;
padding: var(--small-size);
border-radius: 0 0 var(--small-size) var(--small-size);
}
/* POSTING */
.content > form {
display: flex;
flex: max-content;
}
.create-notice {
display: flex;
flex-wrap: wrap;
flex: max-content;
margin-left: 1%;
margin-right: 1%;
border-radius: var(--small-size);
border: solid 2px var(--accent-low);
background-color: var(--bg3);
}
.create-right {
order: 2;
width: 80%;
border-radius: 0 var(--small-size) var(--small-size) 0;
background-color: var(--bg3);
}
/* target multi-select */
.target {
order: 1;
width: 20%;
background-color: var(--bg1);
border-radius: var(--small-size) 0 0 var(--small-size);
font-size: var(--medium-size);
}
.target-top {
padding: var(--unit-size);
}
.target-bot {
padding-left: var(--unit-size);
padding-bottom: var(--unit-size);
}
.target .required {
font-weight: 800;
font-family: var(--head-font);
}
.target #form_to {
font-weight: 400;
font-family: var(--main-font);
}
.target #form_to label {
margin-left: 0.5em;
}
/* scope options */
.scope {
order: 1;
width: 100%;
display: flex;
flex-wrap: wrap;
color: var(--fg);
font-size: var(--medium-size);
background-color: var(--bg1);
border-radius: 0 var(--small-size) 0 0;
}
.scope div {
display: inline;
vertical-align: middle;
flex: 1;
color: var(--fg);
padding: var(--unit-size);
}
.scope .required {
order: 1;
font-weight: 800;
font-family: var(--head-font);
}
#form_visibility .required {
font-family: var(--main-font);
font-weight: 400;
margin-left: 0.2em;
margin-right: 0.5em;
}
.scope #form_scope {
order: 2;
flex-grow: 1;
flex-shrink: 1;
}
/* input box */
.input-wrapper {
order: 2;
display: inline-flex;
justify-content: flex-start;
width: 100%;
box-sizing: border-box;
}
.content-input {
order: 2;
flex-grow: 1;
flex-shrink: 0;
}
#form_content {
background-color: var(--bg2);
padding: var(--unit-size);
color: var(--fg);
font-size: var(--medium-size);
font-family: var(--main-font);
width: 100%;
box-sizing: border-box;
height: calc(8 * var(--unit-size));
}
/* options */
.notice-options {
order: 3;
display: inline-flex;
justify-content: flex-start;
width: 100%;
box-sizing: border-box;
padding: 1%;
}
.send {
margin-left: auto;
}