moving public/* to .

This commit is contained in:
2024-11-08 12:42:30 -06:00
parent 6939828b38
commit 18a74e3b0b
22 changed files with 0 additions and 0 deletions

48
css/style.css Normal file
View File

@ -0,0 +1,48 @@
body {
margin: auto;
padding-top: 4rem;
background-color: beige;
font-size: 18px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.hidden {
display: none;
}
.display {
width: 80vw;
max-width: 500px;
/*height: 240px;*/
margin: 6rem auto;
background: linear-gradient(to bottom right, #0c024d, #0dbcc5);
background-attachment: fixed;
color: white;
font-size: 1.3rem;
padding: 2rem;
border-radius: 12px;
}
.instructions {
display: none;
margin-top: 2rem;
text-align: center;
border-bottom: 1px dotted #0c024d;
font-style: italic;
font-size: 0.9rem;
}
.footer {
text-align: center;
font-size: 0.8rem;
margin: 2rem auto;
}
.footer a:any-link {
text-decoration: none;
color: #0c024d;
}
.footer a:hover {
color: #0dbcc5;
}

107
css/styles.css Normal file
View File

@ -0,0 +1,107 @@
:root {
--light: #e6daa6;
--dark: #0c024d;
--lightgrey: #d3d3d3;
--darkgrey: #a9a9a9;
}
* {
margin: 0;
padding: 0;
border: 0;
list-style: none;
text-decoration: none;
border: none;
box-sizing: border-box;
color-scheme: light dark;
}
body {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 16px;
background-color: light_dark(var(--light), var(--dark));
color: light_dark(var(--dark), var(--light));
margin: 2rem auto;
}
.header {
display: flex;
justify-content: space-between;
gap: 20px;
width: 85%;
align-items: center;
margin: auto;
}
.hdr-img {
width: 80px;
height: 80px;
border-radius: 50%;
box-shadow: 1px 3px 5px light_dark(var(--lightgrey), var(--darkgrey));
}
.hdr-h1 {
font-size: 2rem;
text-align: center;
}
.container {
width: 90%;
margin: 2rem auto;
}
.search {
margin: auto;
padding: 8px;
background-color: light_dark(var(--lightgrey), var(--darkgrey));
border: 1px solid var(--lightgrey);
border-radius: 14px;
margin-bottom: 0.6rem;
}
.search h2 {
text-align: center;
padding: 0 8px;
}
.search fieldset {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
}
.text-input {
padding: 0.4rem 1.2rem;
background-color: light_dark(var(--darkgrey), var(--lightgrey));
border-radius: 14px;
color: light_dark(var(--light), var(--dark));
border: 1px solid light_dark(var(--dark), var(--light));
}
#filter-count {
padding: 0.2rem;
}
.quotes {
border: 1px solid var(--lightgrey);
border-radius: 14px;
box-shadow: 1px 3px 5px light_dark(#d6d6a3, var(--darkgrey));
padding: 1rem;
columns: 300px;
column-gap: auto;
column-fill: balance;
margin: auto;
}
.quote {
background: linear-gradient(to bottom right, #0c024d, #0dbcc5);
background-attachment: fixed;
color: beige;
border: 1px solid var(--lightgrey);
border-radius: 14px;
box-shadow: 1px 3px 5px light_dark(var(--lightgrey), var(--darkgrey));
margin: 12px;
padding: 1rem;
max-width: 340px;
display: inline-block;
}
.icon {
width: 20px;
height: 20px;
border-radius: 12px;
display: inline-block;
vertical-align: text-bottom;
}
.footer {
font-size: 0.98rem;
text-align: center;
margin-top: 1rem;
}

78
css/styles.less Normal file
View File

@ -0,0 +1,78 @@
* {
margin: 0;
padding: 0;
border: 0;
list-style: none;
text-decoration: none;
border: none;
box-sizing: border-box;
}
body {
// font-family: "Fantasque", monospace;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 16px;
background-color: beige;
color: #0c024d;
margin: 2rem auto;
}
.header {
display: flex;
justify-content: space-between;
gap: 20px;
width: 85%;
align-items: center;
margin: auto;
}
.hdr-img {
width: 80px;
height: 80px;
border-radius: 50%;
box-shadow: 1px 3px 5px lightgrey;
}
.hdr-h1 {
font-size: 2rem;
text-align: center;
}
.container {
width: 90%;
margin: 2rem auto;
}
.quotes {
border: 1px solid lightgrey;
border-radius: 14px;
box-shadow: 1px 3px 5px #d6d6a3;
padding: 1rem;
columns: 300px;
column-gap: auto;
column-fill: balance;
margin: auto;
}
.quote {
background: linear-gradient(to bottom right, #0c024d, #0dbcc5);
background-attachment: fixed;
color: beige;
border: 1px solid lightgrey;
border-radius: 14px;
box-shadow: 1px 3px 5px lightgrey;
margin: 12px;
padding: 1rem;
max-width: 340px;
display: inline-block;
}
.icon {
width: 20px;
height: 20px;
border-radius: 12px;
display: inline-block;
vertical-align: text-bottom;
}
.footer {
font-size: 0.98rem;
text-align: center;
margin-top: 1rem;
}