@ -2,19 +2,18 @@ article[role="settings"] {
margin : 100px auto ;
width : 100 % ;
max-width : 900px ;
transition : all 0 . 8s linear ;
}
article [ role = "settings" ] h1 {
color : var ( --white ) ;
}
section [ role = "member-settings" ] label {
background : var ( --primary ) ;
color : var ( --white ) ;
padding : 3px ;
border-radius : 3px ;
article [ role = "settings" ] label {
color : var ( --secondary ) ;
margin-bottom : 10px ;
display : inline-block ;
font-weight : 400 ;
}
section [ role = "member-settings" ] ,
@ -27,12 +26,20 @@ section[role="backup-settings"] {
width : 100 % ;
max-width : 900px ;
margin : 10px auto ;
background : var ( --white ) ;
}
section [ role = "member-settings" ] div {
width : 98 % ;
padding : 5px ;
section [ role = "member-settings" ] {
width : 100 % ;
}
section [ role = "member-settings" ] > div [ role = "member-avatar" ] {
height : 300px ;
}
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" ] {
@ -41,41 +48,32 @@ section[role="member-settings"] div input[type="file"] {
}
section [ role = "member-settings" ] div input [ type = "text" ] {
width : 96 % ;
height : 30px ;
padding : 5px ;
width : 100 % ;
height : 40px ;
margin-bottom : 10px ;
}
section [ role = "member-settings" ] div textarea {
background : var ( --primary ) ;
width : 91 % ;
padding : 5px ;
height : 79 % ;
width : 99 % ;
height : 86 % ;
}
section [ role = "member-settings" ] div : nth-child ( 1 ) {
section [ role = "member-settings" ] > div : nth-child ( 1 ) {
grid-column : 1 / 2 ;
}
section [ role = "member-settings" ] div : nth-child ( 2 ) {
section [ role = "member-settings" ] > div : nth-child ( 2 ) {
grid-column : 2 / 4 ;
}
section [ role = "member-settings" ] div img {
width : 100 % ;
}
section [ role = "site-settings" ] > div {
padding : 10px ;
}
section [ role = "site-settings" ] > div [ role = "features" ] button {
article [ role = "settings" ] button {
width : 100 % ;
text-align : left ;
height : 50px ;
margin-bottom : 5px ;
}
section[ role = "site-settings" ] > div [ role = "feature s"] button > span {
article [ role = "settings" ] button > span {
font-size : 0 . 8em ;
display : inline ;
top : -10px ;
@ -95,7 +93,7 @@ section[role="site-settings"]
background : var ( --secondary ) ;
}
section [ role = "site-settings" ] > div [ role = "theme" ] a [ data-enabled = "true" ] {
section [ role = "site-settings" ] > div [ role = "theme" ] button [ data-enabled = "true" ] {
color : var ( --white ) ;
background : var ( --highlight ) ;
display : block ;
@ -103,7 +101,7 @@ section[role="site-settings"] > div[role="theme"] a[data-enabled="true"] {
padding : 3px ;
}
section [ role = "site-settings" ] > div [ role = "theme" ] a [ data-enabled = "false" ] {
section [ role = "site-settings" ] > div [ role = "theme" ] button [ data-enabled = "false" ] {
color : var ( --primary ) ;
background : var ( --secondary ) ;
display : block ;
@ -113,12 +111,17 @@ section[role="site-settings"] > div[role="theme"] a[data-enabled="false"] {
section [ role = "site-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 = "site-settings" ] > div [ role = "mail" ] a [ data-enabled = "true" ] {
color : var ( --primary ) ;
color : var ( -- terti ary) ;
font-weight : bold ;
text-decoration: underline ;
border-top: var ( --highlight ) 1px solid ;
}
section [ role = "site-settings" ] > div [ role = "mail" ] div [ data-enabled = "false" ] {
@ -133,14 +136,8 @@ section[role="site-settings"] > div[role="mail"] input {
margin-bottom : 10px ;
}
section [ role = "site-settings" ] > div [ role = "mail" ] button {
width : 96 % ;
height : 30px ;
padding : 5px ;
}
section [ role = "data-settings" ] div {
padding : 10px ;
section [ role = "data-settings" ] {
color : var ( --white ) ;
}
section [ role = "data-settings" ] div : nth-child ( 1 ) {
@ -148,13 +145,84 @@ section[role="data-settings"] div:nth-child(1) {
word-wrap : break-word ;
}
section [ role = "data-settings" ] button {
width : 96 % ;
height : 30px ;
padding : 5px ;
}
section [ role = "data-settings" ] a {
font-weight : bold ;
text-decoration : underline ;
color : var ( --tertiary ) ;
}
@ 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 : 480px ) {
article [ role = "settings" ] button {
width : 98 % ;
}
article [ role = "settings" ] button > span {
font-size : 0 . 6em ;
}
section [ role = "member-settings" ] ,
section [ role = "site-settings" ] ,
section [ role = "data-settings" ] ,
section [ role = "backup-settings" ] {
grid-template-columns : 1fr 1fr ;
}
section [ role = "member-settings" ] > div : nth-child ( 2 ) {
grid-column : 2 / 3 ;
}
section [ role = "member-settings" ] > div : nth-child ( 5 ) {
grid-column : 1 / 3 ;
}
main > article [ role = "settings" ] > section [ role = "member-settings" ] {
width : auto ;
}
section [ role = "member-settings" ] > div [ role = "member-avatar" ] {
height : 200px ;
}
section [ role = "site-settings" ] > div : nth-child ( 3 ) {
grid-column : 1 / 3 ;
}
section [ role = "data-settings" ] > div : nth-child ( 2 ) {
grid-column : 1 / 3 ;
}
}
@ media only screen and ( max-width : 330px ) {
section [ role = "member-settings" ] ,
section [ role = "site-settings" ] ,
section [ role = "data-settings" ] ,
section [ role = "backup-settings" ] {
grid-template-columns : 1fr ;
grid-auto-rows : 1fr 1fr auto auto ;
}
section [ role = "member-settings" ] > div : nth-child ( 2 ) ,
section [ role = "member-settings" ] > div : nth-child ( 3 ) ,
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 ) {
grid-column : 1 / 3 ;
}
article [ role = "settings" ] button > span {
font-size : 0 . 8em ;
}
}