Add login and home page
This commit is contained in:
BIN
notes/static/notes/images/icons/post-a-note.png
Normal file
BIN
notes/static/notes/images/icons/post-a-note.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
BIN
notes/static/notes/images/icons/profile.png
Normal file
BIN
notes/static/notes/images/icons/profile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
107
notes/static/notes/stylesheets/style.css
Normal file
107
notes/static/notes/stylesheets/style.css
Normal file
@@ -0,0 +1,107 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f4f0f0;
|
||||
font-family: cursive;
|
||||
}
|
||||
|
||||
header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
background-color: #e7bbe0;
|
||||
}
|
||||
|
||||
header > .home {
|
||||
flex-grow: 1;
|
||||
font-size: 3em;
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
header img {
|
||||
height: 40px;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 0 30px;
|
||||
}
|
||||
|
||||
.notes {
|
||||
width: 100%;
|
||||
columns: auto 300px;
|
||||
column-gap: 80px;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.notes.notes-grid {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.note {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
padding: 30px;
|
||||
border: 2px solid rgba(30, 30, 30, 0.4);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.note:nth-child(3n) {
|
||||
border-radius: 155px 25px 15px 25px / 15px 225px 230px 150px;
|
||||
}
|
||||
|
||||
.note:nth-child(3n + 1) {
|
||||
border-radius: 25px 155px 15px 25px / 115px 25px 225px 150px;
|
||||
}
|
||||
|
||||
.note:nth-child(3n + 2) {
|
||||
border-radius: 25px 150px 25px 155px / 115px 25px 225px 50px;
|
||||
}
|
||||
|
||||
.note:nth-child(4n) {
|
||||
background-color: #d4f2d8;
|
||||
}
|
||||
|
||||
.note:nth-child(4n + 1) {
|
||||
background-color: #fac9dc;
|
||||
}
|
||||
|
||||
.note:nth-child(4n + 2) {
|
||||
background-color: #fff372;
|
||||
}
|
||||
|
||||
.note:nth-child(4n + 3) {
|
||||
background-color: #a4d6f7;
|
||||
}
|
||||
|
||||
.note-from, .note-at {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
.card {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
padding: 30px;
|
||||
border: 2px solid rgba(30, 30, 30, 0.4);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
border-radius: 25px 155px 15px 25px / 115px 25px 225px 150px;
|
||||
background-color: #fac9dc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user