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.
264 lines
5.2 KiB
CSS
264 lines
5.2 KiB
CSS
article[role="settings"] {
|
|
margin: 100px auto;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
transition: all 0.8s linear;
|
|
}
|
|
|
|
article[role="settings"] h1 {
|
|
color: var(--white);
|
|
}
|
|
|
|
article[role="settings"] label {
|
|
color: var(--secondary);
|
|
margin-bottom: 10px;
|
|
display: inline-block;
|
|
font-weight: 400;
|
|
}
|
|
|
|
section[role="member-settings"] {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-auto-columns: auto;
|
|
gap: 15px;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
section[role="member-settings"] {
|
|
width: 100%;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(1) {
|
|
grid-column: 1/2;
|
|
grid-row: 1/3;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(2) {
|
|
grid-column: 2/4;
|
|
grid-row: 1/3;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(3) {
|
|
grid-row: 1/3;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(4) {
|
|
color: var(--white);
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(4) a {
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
color: var(--tertiary);
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(5) {
|
|
grid-column: 2/4;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(6) {
|
|
grid-column: 1/3;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(7) {
|
|
grid-column: 3/5;
|
|
min-height: 325px;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(8) {
|
|
grid-column: 1/4;
|
|
color: var(--white);
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
section[role="member-settings"] > div[role="member-avatar"] div,
|
|
section[role="member-settings"] > div[role="site-background"] div {
|
|
height: 100%;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
section[role="member-settings"] div input[type="file"] {
|
|
display: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
section[role="member-settings"] div input[type="text"] {
|
|
width: 100%;
|
|
height: 40px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
section[role="member-settings"] div textarea {
|
|
width: 99%;
|
|
height: 63%;
|
|
}
|
|
|
|
article[role="settings"] button {
|
|
width: 100%;
|
|
text-align: left;
|
|
height: 50px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
article[role="settings"] button > span {
|
|
font-size: 0.8em;
|
|
display: inline;
|
|
top: -10px;
|
|
position: relative;
|
|
}
|
|
|
|
section[role="member-settings"]
|
|
> div[role="features"]
|
|
button[data-enabled="true"] {
|
|
color: var(--white);
|
|
}
|
|
|
|
section[role="member-settings"]
|
|
> div[role="features"]
|
|
button[data-enabled="false"] {
|
|
color: var(--primary);
|
|
background: var(--secondary);
|
|
}
|
|
|
|
section[role="member-settings"]
|
|
> div[role="theme"]
|
|
button[data-enabled="true"] {
|
|
color: var(--white);
|
|
background: var(--highlight);
|
|
display: block;
|
|
border-radius: 3px;
|
|
padding: 3px;
|
|
}
|
|
|
|
section[role="member-settings"]
|
|
> div[role="theme"]
|
|
button[data-enabled="false"] {
|
|
color: var(--primary);
|
|
background: var(--secondary);
|
|
display: block;
|
|
border-radius: 3px;
|
|
padding: 3px;
|
|
}
|
|
|
|
section[role="member-settings"] > div[role="mail"] a {
|
|
margin-right: 3px;
|
|
color: var(--secondary);
|
|
display: inline-block;
|
|
height: 40px;
|
|
padding: 15px 0 0;
|
|
border-top: var(--primary) 1px solid;
|
|
}
|
|
|
|
section[role="member-settings"] > div[role="mail"] a[data-enabled="true"] {
|
|
color: var(--tertiary);
|
|
font-weight: bold;
|
|
border-top: var(--highlight) 1px solid;
|
|
}
|
|
|
|
section[role="member-settings"] > div[role="mail"] div[data-enabled="false"] {
|
|
visibility: hidden;
|
|
display: none;
|
|
}
|
|
|
|
section[role="member-settings"] > div[role="mail"] input {
|
|
width: 96%;
|
|
height: 30px;
|
|
padding: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
section[role="data-settings"] {
|
|
color: var(--white);
|
|
}
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
main > article[role="settings"] {
|
|
width: 97%;
|
|
}
|
|
|
|
main > article[role="settings"] > section[role="member-settings"] {
|
|
width: 97.5%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 650px) {
|
|
section[role="member-settings"] {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
section[role="member-settings"] div textarea {
|
|
height: 80px;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(1) {
|
|
grid-column: 1/2;
|
|
grid-row: 1/3;
|
|
height: 200px;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(2) {
|
|
grid-column: 2/3;
|
|
grid-row: 1/3;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(3) {
|
|
grid-column: 1/3;
|
|
grid-row: 3/5;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(4) {
|
|
grid-column: 1/2;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(5) {
|
|
grid-column: 2/3;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(6) {
|
|
grid-column: 1/2;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(7) {
|
|
grid-column: 2/3;
|
|
min-height: 325px;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(8) {
|
|
grid-column: 1/3;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 530px) {
|
|
section[role="member-settings"] {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
section[role="member-settings"] div textarea {
|
|
height: 80px;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(1) {
|
|
grid-row: 1/3;
|
|
height: 200px;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(2) {
|
|
grid-row: 3/5;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(3) {
|
|
grid-column: 1;
|
|
grid-row: 5/7;
|
|
}
|
|
|
|
section[role="member-settings"] > div:nth-child(4),
|
|
section[role="member-settings"] > div:nth-child(5),
|
|
section[role="member-settings"] > div:nth-child(6),
|
|
section[role="member-settings"] > div:nth-child(7),
|
|
section[role="member-settings"] > div:nth-child(8) {
|
|
grid-column: 1/3;
|
|
}
|
|
}
|