burgernotes/static/css/style.css

226 lines
3.8 KiB
CSS
Raw Normal View History

2023-07-21 20:52:06 +01:00
@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
body {
margin: 0;
font-family: "Inter", sans-serif;
}
/* Web app */
.topBar {
position: fixed;
width: 100%;
height: 50px;
background-color: rgba(233, 233, 233, 0.5);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: solid;
border-color: #dadada;
border-width: 0px;
border-bottom-width: 1px;
}
.topBar p {
display: inline-block;
}
.topBar .logo {
padding-left: 12px;
}
.topBar .usernameBox {
text-align: right;
position: absolute;
2023-07-21 22:54:43 +01:00
cursor: pointer;
2023-07-21 20:52:06 +01:00
right: 12px;
}
.notesBar {
position: fixed;
width: 180px;
bottom: 0;
height: calc(100% - 50px - 1px);
background-color: rgba(233, 233, 233, 0.5);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: solid;
border-color: #dadada;
border-width: 0px;
border-right-width: 1px;
border-top-width: 1px;
}
.notesBar button {
width: calc(100% - 7px - 7px - 3.5px);
height: 35px;
line-height: 0px;
padding: 10px;
margin: 7px;
margin-bottom: 0;
background-color: #ffffff;
2023-07-21 22:54:43 +01:00
color: black;
2023-07-21 20:52:06 +01:00
border: none;
border-radius: 8px;
border: solid;
border-color: #dadada;
border-width: 1px;
font-size: 15px;
text-align: left;
}
.notesBar .selected {
2023-07-21 22:54:43 +01:00
background-color: #157efb !important;
2023-07-21 20:52:06 +01:00
color: white
}
.notesBar .newNote {
background-color: rgba(0, 0, 0, 0);
transform: translateY(-35%);
padding-left: 0;
border: none;
}
.notesBar .newNote img {
height: 200%;
padding-right: 5px;
transform: translateY(30%);
}
.noteBox {
resize: none;
position: fixed;
right: 0;
bottom: 0;
border: none;
2023-07-21 22:54:43 +01:00
font-size: 16px;
2023-07-21 20:52:06 +01:00
width: calc(100% - 180px - 7px);
height: calc(100% - 50px - 6px);
font-family: "Inter", sans-serif;
}
2023-07-22 17:15:59 +01:00
.optionsCoverDiv {
position: fixed;
width: 100%;
height: 100%;
z-index: 2;
background-color: rgba(0, 0, 0, 0.7);
2023-07-22 19:03:37 +01:00
transition: opacity 1s;
2023-07-22 17:15:59 +01:00
}
.optionsDiv {
2023-07-22 19:03:37 +01:00
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 300px;
2023-07-22 17:15:59 +01:00
position: fixed;
background-color: white;
padding: 10px;
color: black;
border-radius: 8px;
}
.optionsDiv button {
padding: 10px;
2023-07-22 19:03:37 +01:00
margin-right: 5px;
2023-07-22 17:15:59 +01:00
padding-left: 15px;
padding-right: 15px;
color: white;
border: none;
text-decoration: none;
background-color: #157efb;
border-radius: 8px;
}
.optionsDiv .exit {
2023-07-22 19:03:37 +01:00
position: absolute;
right: 10px;
width: 40px;
height: 40px;
font-size: 16px;
2023-07-22 17:15:59 +01:00
background-color: #e9e9e9;
color: black;
2023-07-22 19:03:37 +01:00
border-radius: 100%;
2023-07-22 17:15:59 +01:00
}
2023-07-21 20:52:06 +01:00
/* Sign up/log in div */
.inoutdiv {
margin: 10%;
padding: 15px;
box-shadow: 4px 4px 16px 1px grey;
}
.inoutdiv input {
width: calc(100% - 20px);
height: 25px;
margin-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
border-color: gray;
border-width: 1px;
border-radius: 8px;
}
.inoutdiv button {
background-color: white;
color: black;
padding: 10px;
padding-left: 15px;
padding-right: 15px;
border-color: gray;
border-width: 1px;
border-radius: 8px;
}
.inoutdiv a {
color: grey;
text-align: center;
}
.hidden {
display: none;
}
/* main */
.mainDiv {
text-align: center;
}
2023-07-22 17:15:59 +01:00
2023-07-21 20:52:06 +01:00
.mainDiv a {
padding: 10px;
padding-left: 15px;
padding-right: 15px;
color: white;
text-decoration: none;
background-color: #157efb;
border-radius: 8px;
}
2023-07-22 17:15:59 +01:00
2023-07-21 20:52:06 +01:00
.mainDiv .feature {
width: 80%;
margin-left: 10%;
margin-bottom: 10px;
padding: 10px;
border-radius: 8px;
font-size: 17px;
}
2023-07-22 17:15:59 +01:00
2023-07-21 20:52:06 +01:00
.mainDiv .green {
background-color: #ebffeb;
}
2023-07-22 17:15:59 +01:00
2023-07-21 20:52:06 +01:00
.mainDiv .yellow {
background-color: #ffffeb;
}
2023-07-22 17:15:59 +01:00
2023-07-21 20:52:06 +01:00
.mainDiv img {
margin: 10px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}