Add dotenv - Protect my secret data in .env file

This commit is contained in:
Benjamin Myara
2018-08-29 14:53:39 +01:00
parent dfb53b89b0
commit 6dee298b44
18 changed files with 240 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
.profile-container {
margin: 0 1in;
display: flex;
justify-content: space-between;
align-items: center;
height: calc(100vh - 4.5em); // 4.5em is height of navbar
form {
flex-grow: 1;
.description {
width: 100%;
height: 5em;
}
}
.profile-pic {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 3em;
img {
max-width: 50vw;
}
}
}
.profile-form {
display: grid;
grid-template-columns: 1fr 1fr;
color: white;
}

View File

@@ -0,0 +1,2 @@
@import "show";
@import "edit";

View File

@@ -0,0 +1,51 @@
.user-container {
margin: 0 1in;
height: calc(100vh - 4.5em); //4.5em is height of navbar.
display:flex;
flex-direction: column;
justify-content: center;
h2 {
font-size: 1.5em;
}
.profile {
background: #33333D;
display: flex;
.flex-end {
margin-left: auto;
display:flex;
align-items: center;
a:first-child {
margin-right: .5em;
}
}
.profile-pic {
display: flex;
align-items: center;
margin-right: 3em;
img {
width: 10em;
}
}
.profile-text {
display: flex;
flex-direction: column;
justify-content: center;
h1 {
margin: 0 0 .5em 0 ;
}
h2 {
margin: 0;
}
.italics {
font-style: italic;
color: white;
}
}
}
}