forked from GNUsocial/gnu-social
204 lines
3.9 KiB
CSS
204 lines
3.9 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: 4%;
|
|
margin-right: 4%;
|
|
border-radius: var(--small-size);
|
|
border: solid 2px var(--accent-low);
|
|
background-color: var(--bg3);
|
|
padding: 1%;
|
|
}
|
|
|
|
/* scope options */
|
|
.scope {
|
|
order: 1;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
color: var(--fg);
|
|
font-size: var(--medium-size);
|
|
}
|
|
.scope div {
|
|
display: inline;
|
|
vertical-align: middle;
|
|
flex: 1;
|
|
color: var(--fg);
|
|
border-radius: var(--small-size);
|
|
background-color: var(--bg2);
|
|
padding: 1%;
|
|
}
|
|
.scope .required {
|
|
order: 1;
|
|
font-weight: 800;
|
|
}
|
|
.scope #form_scope {
|
|
order: 2;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
}
|
|
.scope #form_scope label {
|
|
margin-right: var(--small-size);
|
|
margin-left: 0.2em;
|
|
}
|
|
|
|
/* input box */
|
|
.content-input {
|
|
order: 2;
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
#form_content {
|
|
background-color: var(--bg2);
|
|
padding: 1%;
|
|
color: var(--fg);
|
|
font-size: var(--unit-size);
|
|
border-radius: var(--small-size);
|
|
margin-top: 0.2em;
|
|
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;
|
|
}
|
|
.send {
|
|
margin-left: auto;
|
|
} |