| layout | post |
|---|---|
| title | LitConnect |
| search_exclude | true |
| hide | true |
| menu | nav/home.html |
.content {
padding: 30px 20px;
text-align: left;
}
.content img {
margin: 20px auto;
max-width: 800px;
height: auto;
border-radius: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
footer {
text-align: center;
background-color: #A0C4FF; /* Pastel Medium Blue */
color: white;
padding: 15px 10px;
margin-top: 20px;
}
footer a {
color: #87BFFF; /* Soft Light Blue */
text-decoration: none;
font-weight: bold;
}
.bookshelf {
width: 500px;
height: 20px;
background-color: #4F6B92; /* Darker Blue */
margin: 50px auto;
margin-top: 200px;
position: relative;
}
.book {
position: absolute;
bottom: 20px;
color: white !important;
text-align: center;
font-weight: bold;
padding: 10px;
font-size: 14px;
writing-mode: vertical-rl;
transform: rotate(180deg);
}
.book1 { background-color: #C47F5E; height: 120px; width: 40px; left: 20px; } /* Brown Leather */
.book2 { background-color: #D9A066; height: 100px; width: 60px; left: 90px; } /* Warm Tan */
.book3 { background-color: #B04F40; height: 140px; width: 40px; left: 160px; } /* Deep Red */
.book4 { background-color: #735D78; height: 100px; width: 55px; left: 230px; } /* Muted Purple */
.book5 { background-color: #4A7A8C; height: 110px; width: 50px; left: 300px; } /* Teal Blue */
.book6 { background-color: #A2A378; height: 130px; width: 50px; left: 370px; } /* Olive Green */
.monitor {
width: 800px;
height: 500px;
background-image: url('https://d7hftxdivxxvm.cloudfront.net/?quality=80&resize_to=width&src=https%3A%2F%2Fartsy-media-uploads.s3.amazonaws.com%2F2RNK1P0BYVrSCZEy_Sd1Ew%252F3417757448_4a6bdf36ce_o.jpg&width=910');
background-size: cover;
background-position: center;
border: 7.5px solid black;
position: relative;
margin: 80px auto;
border-radius: 7.5px;
display: flex;
justify-content: space-between;
padding: 20px;
box-sizing: border-box;
}
.stand {
position: absolute;
bottom: -75px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 75px;
background-color: #2C4870; /* Dark Blue */
}
.base {
position: absolute;
bottom: -90px;
left: 50%;
transform: translateX(-50%);
width: 500px;
height: 20px;
background-color: #2C4870; /* Dark Blue */
}
.button {
width: 50px;
margin: 5px 0;
text-align: center;
text-decoration: none;
font-weight: bold;
font-size: 10px;
}
.button img {
width: 100%;
border-radius: 5px 5px 0 0;
}
.button span {
display: block;
padding: 5px 0;
color: white;
}
.button-column {
display: flex;
flex-direction: column;
align-items: center;
width: 45%;
max-height: 90%;
justify-content: space-around;
}
<div class="button-column">
<a href="{{site.baseurl}}/bookclubuub" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Book_Club_Hub.png" alt="Book Club Hub">
<span>Book Club Hub</span>
</a>
<a href="{{site.baseurl}}/cafe" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Cafe_Store_App_Logo.png" alt="Cafe Store">
<span>Cafe Store</span>
</a>
<a href="{{site.baseurl}}/littest" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Littest.png" alt="Literary Personality Test">
<span>Literary Personality Test</span>
</a>
</div>
<div class="button-column">
<a href="{{site.baseurl}}/bookadaptationchecker" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Book_Adaptations_Checker.png" alt="Book Adaptation Checker">
<span>Book Adaptation Checker</span>
</a>
<a href="{{site.baseurl}}/bookrecommendations" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Book_Recommendations.png" alt="Reading List">
<span>Book Recommendations</span>
</a>
<a href="{{site.baseurl}}/tb" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Database.png" alt="Database">
<span>Genre Recommendations</span>
</a>
</div>
<div class="button-column">
<a href="{{site.baseurl}}/bookquotes" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Quotes.png" alt="Book Quotes">
<span>Manage Quotes</span>
</a>
<a href="{{site.baseurl}}/literaryawards" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Database.png" alt="Literary Awards">
<span>Manage Awards</span>
</a>
<a href="{{site.baseurl}}/lib" class="button">
<img src="{{site.baseurl}}/images/App-Logos/Book_Recommendations.png" alt="Book Recommendations">
<span>Local Library Suggestions</span>
</a>
</div>
© 2024 LitConnect | Privacy Policy | Terms of Use
<script> function loadPreferences() { fetch('https://litconnect.stu.nighthawkcodingsociety.com/api/preferences') .then(response => response.json()) .then(data => { const menuElement = document.getElementById('menu'); const textElement = document.getElementById('text'); if (menuElement) { menuElement.innerText = `Menu: ${data.menu}`; } if (textElement) { textElement.innerText = `Text: ${data.text}`; } let pColors = document.querySelectorAll('p'); pColors.forEach(p => { p.style.color = data.text; }); let menuItems = document.querySelectorAll('.menu-item'); menuItems.forEach(item => { item.style.color = data.menu; }); }) .catch(error => { console.error('Error fetching preferences:', error); }); } window.onload = loadPreferences; </script>