Updated some styles

This commit is contained in:
Gregory Ballantine 2024-05-29 12:08:58 -04:00
parent 9617f4280d
commit e734d4077d
3 changed files with 28 additions and 2 deletions

View File

@ -25,6 +25,32 @@ form select[multiple]{
min-height: 100px; min-height: 100px;
} }
/* Material card styles */
.card-1 {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.card-1:hover {
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.card-2 {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.card-3 {
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.card-4 {
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.card-5 {
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
.container{ .container{
max-width: 1024px; max-width: 1024px;
} }

View File

@ -16,5 +16,5 @@
{{ template "navbar" . }} {{ template "navbar" . }}
<!-- main content --> <!-- main content -->
<div id="main-content" class="container"> <div id="main-content" class="container card-5">
{{ end }} {{ end }}

View File

@ -1,5 +1,5 @@
{{ define "navbar" }} {{ define "navbar" }}
<nav id="main-nav"> <nav id="main-nav" class="card-2">
<div class="nav-left"> <div class="nav-left">
<h4>BLT</h4> <h4>BLT</h4>
<ul> <ul>