@ -16,13 +16,11 @@ article[role="settings"] label {
font-weight : 400 ;
font-weight : 400 ;
}
}
section [ role = "member-settings" ] ,
section [ role = "member-settings" ] {
section [ role = "site-settings" ] ,
section [ role = "data-settings" ] ,
section [ role = "backup-settings" ] {
display : grid ;
display : grid ;
grid-template-columns : 1fr 1fr 1fr ;
grid-template-columns : 1fr 1fr 1fr 1fr ;
gap : 10px ;
grid-auto-columns : auto ;
gap : 15px ;
width : 100 % ;
width : 100 % ;
max-width : 900px ;
max-width : 900px ;
margin : 10px auto ;
margin : 10px auto ;
@ -32,8 +30,47 @@ section[role="member-settings"] {
width : 100 % ;
width : 100 % ;
}
}
section [ role = "member-settings" ] > div [ role = "member-avatar" ] {
section [ role = "member-settings" ] > div : nth-child ( 1 ) {
height : 300px ;
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 = "member-avatar" ] div ,
@ -55,15 +92,7 @@ section[role="member-settings"] div input[type="text"] {
section [ role = "member-settings" ] div textarea {
section [ role = "member-settings" ] div textarea {
width : 99 % ;
width : 99 % ;
height : 86 % ;
height : 63 % ;
}
section [ role = "member-settings" ] > div : nth-child ( 1 ) {
grid-column : 1 / 2 ;
}
section [ role = "member-settings" ] > div : nth-child ( 2 ) {
grid-column : 2 / 4 ;
}
}
article [ role = "settings" ] button {
article [ role = "settings" ] button {
@ -80,20 +109,22 @@ article[role="settings"] button > span {
position : relative ;
position : relative ;
}
}
section [ role = " site -settings"]
section [ role = " member -settings"]
> div [ role = "features" ]
> div [ role = "features" ]
button [ data-enabled = "true" ] {
button [ data-enabled = "true" ] {
color : var ( --white ) ;
color : var ( --white ) ;
}
}
section [ role = " site -settings"]
section [ role = " member -settings"]
> div [ role = "features" ]
> div [ role = "features" ]
button [ data-enabled = "false" ] {
button [ data-enabled = "false" ] {
color : var ( --primary ) ;
color : var ( --primary ) ;
background : var ( --secondary ) ;
background : var ( --secondary ) ;
}
}
section [ role = "site-settings" ] > div [ role = "theme" ] button [ data-enabled = "true" ] {
section [ role = "member-settings" ]
> div [ role = "theme" ]
button [ data-enabled = "true" ] {
color : var ( --white ) ;
color : var ( --white ) ;
background : var ( --highlight ) ;
background : var ( --highlight ) ;
display : block ;
display : block ;
@ -101,7 +132,9 @@ section[role="site-settings"] > div[role="theme"] button[data-enabled="true"] {
padding : 3px ;
padding : 3px ;
}
}
section [ role = "site-settings" ] > div [ role = "theme" ] button [ data-enabled = "false" ] {
section [ role = "member-settings" ]
> div [ role = "theme" ]
button [ data-enabled = "false" ] {
color : var ( --primary ) ;
color : var ( --primary ) ;
background : var ( --secondary ) ;
background : var ( --secondary ) ;
display : block ;
display : block ;
@ -109,7 +142,7 @@ section[role="site-settings"] > div[role="theme"] button[data-enabled="false"] {
padding : 3px ;
padding : 3px ;
}
}
section [ role = " site -settings"] > div [ role = "mail" ] a {
section [ role = " member -settings"] > div [ role = "mail" ] a {
margin-right : 3px ;
margin-right : 3px ;
color : var ( --secondary ) ;
color : var ( --secondary ) ;
display : inline-block ;
display : inline-block ;
@ -118,18 +151,18 @@ section[role="site-settings"] > div[role="mail"] a {
border-top : var ( --primary ) 1px solid ;
border-top : var ( --primary ) 1px solid ;
}
}
section [ role = " site -settings"] > div [ role = "mail" ] a [ data-enabled = "true" ] {
section [ role = " member -settings"] > div [ role = "mail" ] a [ data-enabled = "true" ] {
color : var ( --tertiary ) ;
color : var ( --tertiary ) ;
font-weight : bold ;
font-weight : bold ;
border-top : var ( --highlight ) 1px solid ;
border-top : var ( --highlight ) 1px solid ;
}
}
section [ role = " site -settings"] > div [ role = "mail" ] div [ data-enabled = "false" ] {
section [ role = " member -settings"] > div [ role = "mail" ] div [ data-enabled = "false" ] {
visibility : hidden ;
visibility : hidden ;
display : none ;
display : none ;
}
}
section [ role = " site -settings"] > div [ role = "mail" ] input {
section [ role = " member -settings"] > div [ role = "mail" ] input {
width : 96 % ;
width : 96 % ;
height : 30px ;
height : 30px ;
padding : 5px ;
padding : 5px ;
@ -140,17 +173,6 @@ section[role="data-settings"] {
color : var ( --white ) ;
color : var ( --white ) ;
}
}
section [ role = "data-settings" ] div : nth-child ( 1 ) {
grid-column : 1 / 3 ;
word-wrap : break-word ;
}
section [ role = "data-settings" ] a {
font-weight : bold ;
text-decoration : underline ;
color : var ( --tertiary ) ;
}
@ media only screen and ( max-width : 900px ) {
@ media only screen and ( max-width : 900px ) {
main > article [ role = "settings" ] {
main > article [ role = "settings" ] {
width : 97 % ;
width : 97 % ;
@ -161,68 +183,81 @@ section[role="data-settings"] a {
}
}
}
}
@ media only screen and ( max-width : 48 0px) {
@ media only screen and ( max-width : 65 0px) {
article[ role = "settings" ] button {
section[ role = "member-settings" ] {
width: 98 % ;
grid-template-columns: 1fr 1fr ;
}
}
article[ role = "settings" ] button > span {
section[ role = "member-settings" ] div textarea {
font-size: 0 . 6em ;
height: 80px ;
}
}
section [ role = "member-settings" ] ,
section [ role = "member-settings" ] > div : nth-child ( 1 ) {
section [ role = "site-settings" ] ,
grid-column : 1 / 2 ;
section [ role = "data-settings" ] ,
grid-row : 1 / 3 ;
section [ role = "backup-settings" ] {
height : 200px ;
grid-template-columns : 1fr 1fr ;
}
}
section [ role = "member-settings" ] > div : nth-child ( 2 ) {
section [ role = "member-settings" ] > div : nth-child ( 2 ) {
grid-column : 2 / 3 ;
grid-column : 2 / 3 ;
grid-row : 1 / 3 ;
}
}
section [ role = "member-settings" ] > div : nth-child ( 5 ) {
section [ role = "member-settings" ] > div : nth-child ( 3 ) {
grid-column : 1 / 3 ;
grid-column : 1 / 3 ;
grid-row : 3 / 5 ;
}
}
main > article [ role = "settings" ] > section [ role = "member-settings" ] {
section[ role = "member-settings" ] > div : nth-child ( 4 ) {
width: auto ;
grid-column: 1 / 2 ;
}
}
section [ role = "member-settings" ] > div [ role = "member-avatar" ] {
section [ role = "member-settings" ] > div : nth-child ( 5 ) {
height: 200px ;
grid-column: 2 / 3 ;
}
}
section [ role = " site-settings"] > div : nth-child ( 3 ) {
section [ role = " member-settings"] > div : nth-child ( 6 ) {
grid-column : 1 / 3 ;
grid-column : 1 / 2 ;
}
}
section [ role = "data-settings" ] > div : nth-child ( 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 ;
grid-column : 1 / 3 ;
}
}
}
}
@ media only screen and ( max-width : 330px ) {
@ media only screen and ( max-width : 530px ) {
section [ role = "member-settings" ] ,
section [ role = "member-settings" ] {
section [ role = "site-settings" ] ,
section [ role = "data-settings" ] ,
section [ role = "backup-settings" ] {
grid-template-columns : 1fr ;
grid-template-columns : 1fr ;
grid-auto-rows : 1fr 1fr auto auto ;
}
}
section [ role = "member-settings" ] > div : nth-child ( 2 ) ,
section [ role = "member-settings" ] div textarea {
section [ role = "member-settings" ] > div : nth-child ( 3 ) ,
height : 80px ;
section [ role = "member-settings" ] > div : nth-child ( 4 ) ,
section [ role = "member-settings" ] > div : nth-child ( 5 ) {
grid-column : 1 / 2 ;
}
}
section [ role = "site-settings" ] > div : nth-child ( 1 ) {
section [ role = "member-settings" ] > div : nth-child ( 1 ) {
grid-column : 1 / 3 ;
grid-row : 1 / 3 ;
height : 200px ;
}
section [ role = "member-settings" ] > div : nth-child ( 2 ) {
grid-row : 3 / 5 ;
}
}
article [ role = "settings" ] button > span {
section [ role = "member-settings" ] > div : nth-child ( 3 ) {
font-size : 0 . 8em ;
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 ;
}
}
}
}