Ditched bootstrap

This commit is contained in:
2020-09-06 22:22:28 +10:00
parent a1d10ea30a
commit 8a8bccd850
19 changed files with 403 additions and 169 deletions
+176 -5
View File
@@ -1,12 +1,183 @@
.navbar {
margin-bottom: 50px;
background-color: #69C;
:root {
--border-color: #292929;
--gray-blue: #667788;
--light-blue: #c5eff7;
}
.form-actions {
@font-face {
font-family: 'DreamOrphans';
src: url('../../fonts/dream orphans.ttf') format('truetype');
}
@font-face {
font-family: 'Quicksand';
src: url('../../fonts/Quicksand_Book.otf');
}
@font-face {
font-family: 'QuicksandBold';
src: url('../../fonts/Quicksand_Bold_Oblique.otf');
}
.debug DIV {
border: 1px dashed #DDD;
}
BODY {
}
.main {
max-width: 1000px;
margin: 10px auto;
border: 1px solid var(--border-color);
border-radius: 5px;
font-family: 'Quicksand', Arial, Helvetica, sans-serif;
}
.content {
margin: 20px;
}
.narrow {
max-width: 500px;
margin: 0px auto;
}
@media all and (max-width: 900px) {
.mdhide {
display: none;
}
}
@media all and (max-width: 700px) {
.smhide {
display: none;
}
UL.nav-buttons {
flex-direction: column;
}
}
/* HEADER BAR */
.navigation {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 50px;
background-color: var(--gray-blue);
color: var(--light-blue) !important;
}
.navigation > * {
white-space: nowrap;
}
.navigation A,
.navigation A:visited {
color: var(--light-blue);
text-decoration: none;
}
.navigation .brand {
font-family: 'QuicksandBold', 'Quicksand', Arial, Helvetica, sans-serif;
font-size: 1.5rem;
margin: auto 20px;
}
UL.nav-buttons {
display: flex;
list-style: none;
}
UL.nav-buttons > LI {
margin: 2px 10px;
}
/* FORMS */
FORM {
display: flex;
flex-direction: column;
max-width: 400px;
margin: 20px auto;
}
LABEL {
margin-top: 20px;
}
#project H1 {
TEXTAREA {
height: 50px;
}
.form-actions {
text-align: right;
margin-top: 20px;
}
.btn {
background-color: var(--gray-blue);
display: inline-block;
border: none;
color: var(--light-blue);
text-decoration: none;
border-radius: 1em;
font-size: 1em;
}
.btn:hover {
cursor: pointer;
color: white;
}
.pills {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 40px;
}
.pills A {
border: 1px solid var(--gray-blue);
padding: 4px 10px 2px 10px;
margin: 10px 5px;
border-radius: 10px;
white-space: nowrap;
}
.pills A:hover {
background-color: var(--light-blue);
text-decoration: none
}
.list-group {
display: flex;
flex-direction: column;
}
.list-group A {
border: 1px solid var(--gray-blue);
border-radius: 10px;
padding: 2px 20px;
margin-top: 20px;
}
.list-group A:hover {
background-color: var(--light-blue);
text-decoration: none;
}
A, A:visited {
text-decoration: none;
color: var(--gray-blue);
font-weight: bold;
}
A:hover {
text-decoration: underline;
}
H1 {
text-align: center;
}