forked from GNUsocial/gnu-social
[UI] Standardization of sizes and variable usage for faster theming
This commit is contained in:
parent
02318d954c
commit
0117883bd5
@ -1,4 +1,14 @@
|
|||||||
/* GENERAL ----------------------------*/
|
/* GENERAL ----------------------------*/
|
||||||
|
:root {
|
||||||
|
--head-font: 'Montserrat', sans-serif;
|
||||||
|
--main-font: 'Open Sans', sans-serif;
|
||||||
|
--main-size: 1.25em;
|
||||||
|
--medium-size: 0.8em;
|
||||||
|
--small-size: 0.65em;
|
||||||
|
--unit-size: 1em;
|
||||||
|
--side-margin: 20%;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
background-color: #29323c;
|
background-color: #29323c;
|
||||||
@ -6,8 +16,8 @@ html {
|
|||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: #F6F6F6;
|
color: #F6F6F6;
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: var(--main-font);
|
||||||
font-size: 1.250em;
|
font-size: var(--main-size);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
@ -63,7 +73,7 @@ a:visited {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul li ul a {
|
ul li ul a {
|
||||||
font-size: 0.65em;
|
font-size: var(--small-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
@ -87,8 +97,8 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 20%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 20%;
|
margin-right: var(--side-margin);
|
||||||
background-color: rgba(0, 0, 0, 0.40);
|
background-color: rgba(0, 0, 0, 0.40);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
@ -100,15 +110,15 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em 1em 0.6em 1em;
|
padding: var(--unit-size) var(--unit-size) var(--small-size) var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MENU -------------------------------*/
|
/* MENU -------------------------------*/
|
||||||
.icon-menu {
|
.icon-menu {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -129,8 +139,8 @@ b {
|
|||||||
.icon-logo {
|
.icon-logo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -145,8 +155,8 @@ b {
|
|||||||
.icon-search {
|
.icon-search {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -172,18 +182,17 @@ b {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 4em;
|
width: 4em;
|
||||||
height: 4em;
|
height: 4em;
|
||||||
margin-left: 1em;
|
margin-left: var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#profile {
|
#profile {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em 1em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
order: 4;
|
order: 4;
|
||||||
font-size: 0.8em;
|
font-size: var(--medium-size);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -199,7 +208,7 @@ b {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#tags i {
|
#tags i {
|
||||||
margin-left: 0.5em;
|
margin-left: var(--small-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#stats {
|
#stats {
|
||||||
@ -210,7 +219,7 @@ b {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#stats b:last-child {
|
#stats b:last-child {
|
||||||
margin-left: 1em;
|
margin-left: var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------*/
|
/*-------------------------------------*/
|
@ -1,4 +1,14 @@
|
|||||||
/* GENERAL ----------------------------*/
|
/* GENERAL ----------------------------*/
|
||||||
|
:root {
|
||||||
|
--head-font: 'Montserrat', sans-serif;
|
||||||
|
--main-font: 'Open Sans', sans-serif;
|
||||||
|
--main-size: 1.15em;
|
||||||
|
--medium-size: 0.9em;
|
||||||
|
--small-size: 0.8em;
|
||||||
|
--unit-size: 1em;
|
||||||
|
--side-margin: 5%;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
background-color: #29323c;
|
background-color: #29323c;
|
||||||
@ -6,8 +16,8 @@ html {
|
|||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: #F6F6F6;
|
color: #F6F6F6;
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: var(--main-font);
|
||||||
font-size: 1.2em;
|
font-size: var(--main-size);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
@ -63,7 +73,7 @@ a:visited {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul li ul a {
|
ul li ul a {
|
||||||
font-size: 0.65em;
|
font-size: var(--small-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
@ -87,8 +97,8 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 5%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 5%;
|
margin-right: var(--side-margin);
|
||||||
background-color: rgba(0, 0, 0, 0.40);
|
background-color: rgba(0, 0, 0, 0.40);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
@ -100,15 +110,15 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em 1em 0.6em 1em;
|
padding: var(--unit-size) var(--unit-size) var(--small-size) var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MENU -------------------------------*/
|
/* MENU -------------------------------*/
|
||||||
.icon-menu {
|
.icon-menu {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -129,8 +139,8 @@ b {
|
|||||||
.icon-logo {
|
.icon-logo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -145,8 +155,8 @@ b {
|
|||||||
.icon-search {
|
.icon-search {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -170,9 +180,9 @@ b {
|
|||||||
#avatar {
|
#avatar {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 3em;
|
width: 4em;
|
||||||
height: 3em;
|
height: 4em;
|
||||||
margin-left: 1em;
|
margin-left: var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile {
|
#profile {
|
||||||
@ -180,12 +190,13 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em 1em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
order: 4;
|
order: 4;
|
||||||
font-size: 0.8em;
|
font-size: var(--medium-size);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#info {
|
#info {
|
||||||
order: 1;
|
order: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -197,7 +208,7 @@ b {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#tags i {
|
#tags i {
|
||||||
margin-left: 0.5em;
|
margin-left: var(--small-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#stats {
|
#stats {
|
||||||
@ -208,7 +219,7 @@ b {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#stats b:last-child {
|
#stats b:last-child {
|
||||||
margin-left: 1em;
|
margin-left: var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------*/
|
/*-------------------------------------*/
|
@ -1,4 +1,14 @@
|
|||||||
/* GENERAL ----------------------------*/
|
/* GENERAL ----------------------------*/
|
||||||
|
:root {
|
||||||
|
--head-font: 'Montserrat', sans-serif;
|
||||||
|
--main-font: 'Open Sans', sans-serif;
|
||||||
|
--main-size: 1.1em;
|
||||||
|
--medium-size: 0.75em;
|
||||||
|
--small-size: 0.7em;
|
||||||
|
--unit-size: 1em;
|
||||||
|
--side-margin: 0%;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
background-color: #29323c;
|
background-color: #29323c;
|
||||||
@ -6,8 +16,8 @@ html {
|
|||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: #F6F6F6;
|
color: #F6F6F6;
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: var(--main-font);
|
||||||
font-size: 1.1em;
|
font-size: var(--main-size);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
@ -25,7 +35,7 @@ ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.drop-down ul li ul a {
|
.drop-down ul li ul a {
|
||||||
line-height: 1.4em;
|
line-height: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drop-down ul li ul {
|
.drop-down ul li ul {
|
||||||
@ -63,7 +73,7 @@ a:visited {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul li ul a {
|
ul li ul a {
|
||||||
font-size: 0.8em;
|
font-size: var(--small-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
@ -87,8 +97,8 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 0;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 0;
|
margin-right: var(--side-margin);
|
||||||
background-color: rgba(0, 0, 0, 0.40);
|
background-color: rgba(0, 0, 0, 0.40);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
@ -100,15 +110,15 @@ b {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em 1em 0.6em 1em;
|
padding: var(--unit-size) var(--unit-size) var(--small-size) var(--unit-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MENU -------------------------------*/
|
/* MENU -------------------------------*/
|
||||||
.icon-menu {
|
.icon-menu {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -129,8 +139,8 @@ b {
|
|||||||
.icon-logo {
|
.icon-logo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
@ -145,8 +155,8 @@ b {
|
|||||||
.icon-search {
|
.icon-search {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 1em;
|
width: var(--unit-size);
|
||||||
height: 1em;
|
height: var(--unit-size);
|
||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
|
@ -6,11 +6,12 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 2;
|
order: 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 20%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 20%;
|
margin-right: var(--side-margin);
|
||||||
background-color: #00000080;
|
background-color: #00000080;
|
||||||
padding: 1em 1em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
font-size: 0.7em;
|
font-size: var(--medium-size);
|
||||||
|
font-family: var(--head-font);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -19,8 +20,8 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 5%;
|
margin-left: calc(var(--side-margin) * 0.25);
|
||||||
margin-right: 5%;
|
margin-right: calc(var(--side-margin) * 0.25);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,14 +54,15 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 2;
|
order: 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 20%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 20%;
|
margin-right: var(--side-margin);
|
||||||
margin-top: 1em;
|
margin-top: var(--unit-size);
|
||||||
background-color: #00000080;
|
background-color: #00000080;
|
||||||
border-top-left-radius: 1em;
|
border-top-left-radius: var(--unit-size);
|
||||||
border-top-right-radius: 1em;
|
border-top-right-radius: var(--unit-size);
|
||||||
padding: 0.8em 0.8em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
font-size: 0.7em;
|
font-size: var(--medium-size);
|
||||||
|
font-family: var(--head-font);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,8 +71,8 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 10%;
|
margin-left: calc(var(--side-margin) * 0.5);
|
||||||
margin-right: 10%;
|
margin-right: calc(var(--side-margin) * 0.5);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,65 +108,35 @@ hr {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 3;
|
order: 3;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 1em;
|
margin-bottom: var(--unit-size);
|
||||||
margin-left: 20%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 20%;
|
margin-right: var(--side-margin);
|
||||||
background-color: rgba(0, 0, 0, 0.30);
|
background-color: rgba(0, 0, 0, 0.30);
|
||||||
padding: 1em 1em 1em 1em;
|
padding: var(--unit-size);
|
||||||
border-bottom-left-radius: 1em;
|
border-bottom-left-radius: var(--unit-size);
|
||||||
border-bottom-right-radius: 1em;
|
border-bottom-right-radius: var(--unit-size);
|
||||||
font-size: 0.7em;
|
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FORMS ------------------------------*/
|
/* FORMS ------------------------------*/
|
||||||
.label {
|
label {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
font-size: var(--medium-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#nickname {
|
label:nth-child() {
|
||||||
order: 1;
|
margin-top: var(--medium-size);
|
||||||
width: 98%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#name {
|
|
||||||
order: 2;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#homepage {
|
|
||||||
order: 3;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bio {
|
|
||||||
order: 4;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#location {
|
|
||||||
order: 5;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#save {
|
|
||||||
order: 6;
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
margin-top: 0.5em;
|
margin-top: calc(var(--unit-size) * 0.5);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: rgba(0, 0, 0, 0.30);
|
background-color: rgba(0, 0, 0, 0.30);
|
||||||
border-style: none;
|
border-style: none;
|
||||||
padding: 0.5em 0.5em;
|
padding: calc(var(--unit-size) * 0.5) calc(var(--unit-size) * 0.5);
|
||||||
color: #F6F6F6;
|
color: #F6F6F6;
|
||||||
border-radius: 0.5em;
|
border-radius: calc(var(--unit-size) * 0.5);
|
||||||
font-size: 0.9em;
|
font-size: var(--medium-size);
|
||||||
|
margin-bottom: var(--unit-size);
|
||||||
}
|
}
|
@ -6,11 +6,12 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 2;
|
order: 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 5%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 5%;
|
margin-right: var(--side-margin);
|
||||||
background-color: #00000080;
|
background-color: #00000080;
|
||||||
padding: 1em 1em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
font-size: 0.7em;
|
font-size: var(--medium-size);
|
||||||
|
font-family: var(--head-font);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -19,8 +20,8 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 5%;
|
margin-left: calc(var(--side-margin) * 0.25);
|
||||||
margin-right: 5%;
|
margin-right: calc(var(--side-margin) * 0.25);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,14 +54,15 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 2;
|
order: 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 5%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 5%;
|
margin-right: var(--side-margin);
|
||||||
margin-top: 1em;
|
margin-top: var(--unit-size);
|
||||||
background-color: #00000080;
|
background-color: #00000080;
|
||||||
border-top-left-radius: 1em;
|
border-top-left-radius: var(--unit-size);
|
||||||
border-top-right-radius: 1em;
|
border-top-right-radius: var(--unit-size);
|
||||||
padding: 0.8em 0.8em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
font-size: 0.7em;
|
font-size: var(--medium-size);
|
||||||
|
font-family: var(--head-font);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,8 +71,8 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 10%;
|
margin-left: calc(var(--side-margin) * 0.5);
|
||||||
margin-right: 10%;
|
margin-right: calc(var(--side-margin) * 0.5);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,65 +108,35 @@ hr {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 3;
|
order: 3;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 1em;
|
margin-bottom: var(--unit-size);
|
||||||
margin-left: 5%;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 5%;
|
margin-right: var(--side-margin);
|
||||||
background-color: rgba(0, 0, 0, 0.30);
|
background-color: rgba(0, 0, 0, 0.30);
|
||||||
padding: 1em 1em 1em 1em;
|
padding: var(--unit-size);
|
||||||
border-bottom-left-radius: 1em;
|
border-bottom-left-radius: var(--unit-size);
|
||||||
border-bottom-right-radius: 1em;
|
border-bottom-right-radius: var(--unit-size);
|
||||||
font-size: 0.7em;
|
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FORMS ------------------------------*/
|
/* FORMS ------------------------------*/
|
||||||
.label {
|
label {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
font-size: var(--medium-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#nickname {
|
label:nth-child() {
|
||||||
order: 1;
|
margin-top: var(--medium-size);
|
||||||
width: 98%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#name {
|
|
||||||
order: 2;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#homepage {
|
|
||||||
order: 3;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bio {
|
|
||||||
order: 4;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#location {
|
|
||||||
order: 5;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#save {
|
|
||||||
order: 6;
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
margin-top: 0.5em;
|
margin-top: calc(var(--unit-size) * 0.5);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: rgba(0, 0, 0, 0.30);
|
background-color: rgba(0, 0, 0, 0.30);
|
||||||
border-style: none;
|
border-style: none;
|
||||||
padding: 0.5em 0.5em;
|
padding: calc(var(--unit-size) * 0.5) calc(var(--unit-size) * 0.5);
|
||||||
color: #F6F6F6;
|
color: #F6F6F6;
|
||||||
border-radius: 0.5em;
|
border-radius: calc(var(--unit-size) * 0.5);
|
||||||
font-size: 0.9em;
|
font-size: var(--medium-size);
|
||||||
|
margin-bottom: var(--unit-size);
|
||||||
}
|
}
|
@ -6,11 +6,12 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 2;
|
order: 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 0;
|
margin-left: var(--side-margin);
|
||||||
margin-right: 0;
|
margin-right: var(--side-margin);
|
||||||
background-color: #00000080;
|
background-color: #00000080;
|
||||||
padding: 1em 1em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
font-size: 0.8em;
|
font-size: var(--medium-size);
|
||||||
|
font-family: var(--head-font);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -19,8 +20,8 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 5%;
|
margin-left: calc(var(--side-margin) * 0.25);
|
||||||
margin-right: 5%;
|
margin-right: calc(var(--side-margin) * 0.25);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,19 +49,20 @@
|
|||||||
/*-------------------------------------*/
|
/*-------------------------------------*/
|
||||||
/*-------------------------------------*/
|
/*-------------------------------------*/
|
||||||
.set-nav2 {
|
.set-nav2 {
|
||||||
position: relative;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: relative;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 2;
|
order: 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 1%;
|
margin-left: calc(var(--side-margin) + 1%);
|
||||||
margin-right: 1%;
|
margin-right: calc(var(--side-margin) + 1%);
|
||||||
margin-top: 1em;
|
margin-top: var(--unit-size);
|
||||||
background-color: #00000080;
|
background-color: #00000080;
|
||||||
border-top-left-radius: 1em;
|
border-top-left-radius: var(--unit-size);
|
||||||
border-top-right-radius: 1em;
|
border-top-right-radius: var(--unit-size);
|
||||||
padding: 0.8em 0.8em;
|
padding: var(--medium-size) var(--medium-size);
|
||||||
font-size: 0.7em;
|
font-size: var(--medium-size);
|
||||||
|
font-family: var(--head-font);
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,6 +71,8 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-left: calc(var(--side-margin) * 0.5);
|
||||||
|
margin-right: calc(var(--side-margin) * 0.5);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,65 +108,35 @@ hr {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
order: 3;
|
order: 3;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 1em;
|
margin-bottom: var(--unit-size);
|
||||||
margin-left: 1%;
|
margin-left: calc(var(--side-margin) + 1%);
|
||||||
margin-right: 1%;
|
margin-right: calc(var(--side-margin) + 1%);
|
||||||
background-color: rgba(0, 0, 0, 0.30);
|
background-color: rgba(0, 0, 0, 0.30);
|
||||||
padding: 1em 1em 1em 1em;
|
padding: var(--unit-size);
|
||||||
border-bottom-left-radius: 1em;
|
border-bottom-left-radius: var(--unit-size);
|
||||||
border-bottom-right-radius: 1em;
|
border-bottom-right-radius: var(--unit-size);
|
||||||
font-size: 0.8em;
|
|
||||||
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
box-shadow: 0px 0px 60px -20px rgba(41, 50, 60, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FORMS ------------------------------*/
|
/* FORMS ------------------------------*/
|
||||||
.label {
|
label {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
font-size: var(--medium-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#nickname {
|
label:nth-child() {
|
||||||
order: 1;
|
margin-top: var(--medium-size);
|
||||||
width: 98%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#name {
|
|
||||||
order: 2;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#homepage {
|
|
||||||
order: 3;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bio {
|
|
||||||
order: 4;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#location {
|
|
||||||
order: 5;
|
|
||||||
width: 98%;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#save {
|
|
||||||
order: 6;
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
margin-top: 0.5em;
|
margin-top: calc(var(--unit-size) * 0.5);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: rgba(0, 0, 0, 0.30);
|
background-color: rgba(0, 0, 0, 0.30);
|
||||||
border-style: none;
|
border-style: none;
|
||||||
padding: 0.5em 0.5em;
|
padding: calc(var(--unit-size) * 0.5) calc(var(--unit-size) * 0.5);
|
||||||
color: #F6F6F6;
|
color: #F6F6F6;
|
||||||
border-radius: 0.5em;
|
border-radius: calc(var(--unit-size) * 0.5);
|
||||||
font-size: 0.9em;
|
font-size: var(--medium-size);
|
||||||
|
margin-bottom: var(--unit-size);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user