Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="{{ "/assets/style.css" | relative_url }}">
<link rel="stylesheet" href="https://campuspulse.app/css/Menu.css">
<link rel="stylesheet" href="{{ "/assets/Menu.css" | relative_url }}">

<script defer="" src="https://use.fontawesome.com/releases/v6.6.0/js/all.js" integrity="sha384-dgEl3vRKux81M373f/TdgoDTV5oZj+yjHrr/1qR5b4btG5q63kYS62t5kod+7Q6v" crossorigin="anonymous"></script>
<noscript>
Expand Down
61 changes: 61 additions & 0 deletions assets/Menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.menu-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
/* Center items vertically */
/* Full viewport height */
gap: 20px;
}

.menu-button {
display: block;
width: 250px;
padding: 20px;
background-color: #0056b3;
color: white;
text-decoration: none;
border-radius: 8px;
transition: transform 0.2s;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
}

.menu-button.highlighted {
background-color: #ffd700;
/* Accessible gold color */
color: black;
/* Ensure good text contrast */
transform: scale(1.1);
/* Slightly larger to make it more noticeable */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
/* Slight shadow for emphasis */
}

.menu-button:hover {
transform: scale(1.05);
background-color: #003d80;
}

.menu-content h2 {
margin: 0;
font-size: 24px;
}

.menu-content p {
margin: 10px 0 0;
font-size: 16px;
/* normal line height is 1.3 */
min-height: calc(1.3em * 1); /* 1 line */
}

.menu-button.disabled {
background-color: #8eb590;
transition: none;
cursor: default;
}

.menu-button.disabled:hover {
transform: scale(1);
background-color: #8eb590;
}