guams_homepage/src/style.css

318 lines
5.5 KiB
CSS

* {
font-family: 'M PLUS 1p', sans-serif;
/*font-family: ms ui gothic, sans-serif;*/
text-align: justify;
margin: 0;
font-size: 16px;
}
.window-border {
box-shadow: inset -1px -1px #404040, inset 1px 1px #DFDFDF,
inset -2px -2px #7F7F7F, inset 2px 2px #FFFFFF,
inset -3px -3px #C3C3C3, inset 3px 3px #C3C3C3,
inset -4px -4px #C3C3C3, inset 4px 4px #C3C3C3;
}
h1 {
text-align: center;
}
.left-panel {
width: 100%;
display: flex;
gap: 7px;
flex-direction: column;
}
.changelog-panel, .project-panel {
box-sizing: border-box;
width: 100%;
}
body {
cursor: url('/src/img/cursor.webp'), default;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.banner-div {
display: block;
max-width: 100%;
height: 200px;
background: rgba(0, 0, 0, 0.5);
}
#closed-main > h1 {
font-size: 50px;
}
#closed-main {
display: none;
color: white;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);}
main {
margin: 16px 0;
width: 850px;
}
.title-bar-text {
color: #fff;
font-weight: 700;
letter-spacing: 0;
margin-right: 24px;
}
.title-bar {
align-items: center;
background: #131862;
display: flex;
justify-content: space-between;
padding: 7px;
}
#changelog-content > li {
margin: 15px 0;
}
.text {
word-break: keep-all;
margin: 0.5em;
}
.osaka {
width: 50%;
height: auto;
}
.status {
background-color: #546bab;
}
.project-top {
align-self: center;
width: 90%;
max-height: 175px;
object-fit: cover;
height: auto;
}
.project-content {
display: flex;
flex-direction: column;
align-items: stretch;
overflow-x: hidden;
word-break: break-word;
box-sizing: border-box;
box-shadow: inset -1px -1px #404040,
inset 1px -1px #DFDFDF,
inset -2px -2px #7F7F7F,
inset 2px -2px #FFFFFF,
inset -3px -3px #C3C3C3,
inset 3px -3px #C3C3C3,
inset -4px -4px #C3C3C3,
inset 4px -4px #C3C3C3,
inset -5px -5px #FFFFFF,
inset 5px -5px #808080,
inset -6px -6px #DFDFDF,
inset 6px -6px #000000;
padding: 7px;
gap: 10px;
}
#about-me-content {
overflow-x: hidden;
word-break: break-word;
box-sizing: border-box;
max-height: 400px;
box-shadow: inset -1px -1px #404040,
inset 1px -1px #DFDFDF,
inset -2px -2px #7F7F7F,
inset 2px -2px #FFFFFF,
inset -3px -3px #C3C3C3,
inset 3px -3px #C3C3C3,
inset -4px -4px #C3C3C3,
inset 4px -4px #C3C3C3,
inset -5px -5px #FFFFFF,
inset 5px -5px #808080,
inset -6px -6px #DFDFDF,
inset 6px -6px #000000;
padding: 7px;
gap: 10px;
}
#changelog-content {
overflow-y: scroll;
overflow-x: hidden;
word-break: break-word;
box-sizing: border-box;
max-height: 160px;
scrollbar-color: #a2a2a2 #ffffff;
scrollbar-width: thin;
box-shadow: inset -1px -1px #404040,
inset 1px -1px #DFDFDF,
inset -2px -2px #7F7F7F,
inset 2px -2px #FFFFFF,
inset -3px -3px #C3C3C3,
inset 3px -3px #C3C3C3,
inset -4px -4px #C3C3C3,
inset 4px -4px #C3C3C3,
inset -5px -5px #FFFFFF,
inset 5px -5px #808080,
inset -6px -6px #DFDFDF,
inset 6px -6px #000000;
padding: 7px;
gap: 10px;
}
.title-bar-button {
background: silver;
border: none;
border-radius: 0;
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
box-sizing: border-box;
color: transparent;
text-shadow: 0 0 #222;
}
.content {
display: flex;
justify-content: space-between;
align-items: stretch;
color: white;
background-color: #2e4482;
padding: 7px;
}
.navbar-link:visited {
color: white;
}
li {
list-style-type: none;
}
li.language-list {
list-style-type: disclosure-closed;
}
.navbar-link {
padding: 2px;
margin: 2px;
}
.navigation {
border-right: 1px solid #bea9de;
display: flex;
flex-direction: column;
background-color: #546bab;
}
h1 {
font-size: 19px;
}
.navbar-link:hover {
text-decoration-line: underline;
}
#nav-title {
background-color: #bea9de;
margin-bottom: 7px;
}
.hypertext-link:visited {
color: white;
}
.hypertext-link {
font-weight: bold;
}
.navbar-link:hover {
border-radius: 4px;
background-color: #bea9de;
}
.navbar-link {
border-bottom: 1px solid #bea9de;
text-decoration: none;
color: white;
}
.presentation {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 80%;
padding: 7px;
min-width: 70%;
}
.projects {
display: flex;
gap: 1rem;
flex-direction: column;
justify-content: space-between;
width: 80%;
padding: 7px;
min-width: 70%;
}
.about-top {
display: flex;
flex-direction: row;
}
/* Responsive */
@media (max-width: 850px) {
* {
font-size: 12px;
}
.presentation {
word-break: break-word;
padding: 0;
}
.minimize-button {
width: 0;
height: 0;
visibility: hidden;
}
.maximize-button {
height: 0;
width: 0;
visibility: hidden;
}
#banner {
width: 100%;
height: 100%;
object-fit: fill;
}
.osaka {
width: 100%;
height: auto;
}
main {
width: 100%;
}
.banner-div {
display: block;
max-width: 100%;
height: auto;
background: rgba(0, 0, 0, 0.5);
}
}