/*

v_Enhance's CSS Stylesheet
Theme Name: SIMPLE-53544
Last edited 31 Oct 2023

To use the fonts specified in this stylesheet,
add the following lines to your HTML preamble:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,700;1,400&family=Mate&family=Noto+Serif+TC:wght@500&family=PT+Sans&family=Roboto+Slab:wght@400;500;600&display=swap" rel="stylesheet">

Copyright (c) 2023 Evan Chen under MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

body {
  font-family: "Mate", serif;
  background-color: #f6f6f6; /* It's #5368C1 on KARL */
  color: #121212;
  max-width: 800px; /* Don't overwhelm large displays */
  margin: 0 auto;
  padding: 0;
  display: block;
  float: none;
  font-size: 16px;
}

strong {
  color: #af1111;
}

blockquote {
  margin-left: 40px;
  margin-right: 56px;
}

pre,
code {
  font-family: "JetBrains Mono", monospace;
}

/*
 * LINKS, IMAGES
 */

a:link,
a:visited {
  color: #2188e0;
  text-decoration: none;
}
a:hover {
  color: #006b57;
  text-shadow: 0 0 5px #ff0;
  text-decoration: underline;
}

h1 a:link,
h1 a:visited {
  color: #3333ff;
}
h2 a:link,
h2 a:visited {
  color: #078a03;
}
h3 a:link,
h3 a:visited {
  color: #a40f71;
}
#main img {
  border: 0 none;
  max-width: 100%;
}

a.hash-link {
  padding-left: 7px;
}
a.hash-link:link,
a.hash-link:visited {
  opacity: 15%;
}
a.hash-link:hover,
a.hash-link:active {
  opacity: 100%;
  text-decoration: none;
}

a.emoji-link:hover,
a.emoji-link:active {
  text-decoration: none;
}

/*
 * HEADERS H1, H2, ..., H5
 */

h1 {
  display: block;
  font-weight: normal;
  letter-spacing: 1px;
  font-size: 22px;
  color: #224488;
  font-weight: 600;
  font-family: "Roboto Slab", serif;
}
h2 {
  color: #004824;
  font-size: 20px;
  font-weight: 600;
  padding-top: 6px;
  font-family: "Roboto Slab", serif;
}
h3 {
  color: #450060;
  font-size: 18px;
  font-weight: 600;
  font-family: "Roboto Slab", serif;
}
h4 {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
}
h5,
h6 {
  margin-top: 4px;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 500;
}

/*
 * ID'ed elements
 * #header, #main, #side, #email_box, #feed
 */

#main {
  padding: 5px;
  border: 1px solid #2e8b57;
  border-radius: 11px;
  moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  background-color: #b2fee1; /* light green color */
  margin-top: 7px;
  margin-left: 0px;
}

#header {
  background: none repeat scroll 0 0;
  clear: both;
  font-family: "Roboto Slab", serif;
  font-size: 24px;
  line-height: 28px;
  overflow: auto;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  background-color: #faebd7; /* red background */

  border-top: 5px solid #cccccc;
  border-bottom: 5px solid #cccccc;
  border: 3px solid #b22222;
  border-radius: 11px;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  margin-top: 5px;
  padding-left: 12px;
}
#header a:hover {
  text-decoration: none;
}

#sitetitle {
  text-align: left;
  font-size: 40px;
  position: relative;
  top: 10px;
  left: 3px;
  margin: 0;
  color: #ff6600; /* reddish, for head */
  line-height: 2.4;
  font-weight: 500;
  font-family: "Noto Serif TC", sans-serif;
}

#pagetitle {
  font-weight: 700;
  margin-left: 16px;
}

#side {
  border: 1px solid #6a5acd;
  border-radius: 11px;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  background-color: #afeeee;
  /* light blue background for side */
  line-height: 20px;
  padding-top: 9px;
  padding-bottom: 0px;
  padding-left: 12px;
  padding-right: 12px;
  margin-top: 7px;
}
#side:hover {
  outline: 1px solid #6a5acd;
}

#feed {
  border: 1px solid #ffcc00;
  border-radius: 11px;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  background-color: #ffffaa;
  margin-top: 4px;
}

#side h4,
#side h5,
#side h6 {
  font-family: "PT Sans", sans-serif;
}
#side h4 {
  font-weight: normal;
  font-size: 16px;
}
#side h5 {
  font-weight: normal;
  font-size: 14px;
  font-style: italic;
}
#side h4 strong,
#side h5 strong {
  font-style: normal;
  color: #7d0081;
}

#email_box {
  margin-top: 3px;
  background-color: #87ceeb;
  border-radius: 9px;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border: 2px solid #48d1cc;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 80%;
  display: inline-block;
}

#navtitle {
  color: blue;
  font-weight: 700;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
  float: left;
}

#latest_blog {
  background-color: #abdeab;
  font-family: "PT Sans", sans-serif;
}

/* ENTRY AND ENTRY WRAP */

div.entry {
  border-bottom: 1px dashed #cccccc;
  margin-top: 9px;
  overflow: hidden;
  padding-bottom: 16px;
}
div.entrywrap {
  background-color: #dedede;
  border: 1px solid black;
  margin: 8px;
  overflow: auto;
  padding-top: 12px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 16px;
  height: 99%;
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border: 1px solid #000000;
}

/* Bootstrap monkey patching */

a:link.btn,
a:visited.btn {
  color: #212529;
}
a:link.btn-primary,
a:visited.btn-primary {
  color: #fff;
}
a:link.btn-secondary,
a:visited.btn-secondary {
  color: #fff;
}
a:link.btn-success,
a:visited.btn-success {
  color: #fff;
}
a:link.btn-danger,
a:visited.btn-danger {
  color: #fff;
}
a:link.btn-warning,
a:visited.btn-warning {
  color: #212529;
}
a:link.btn-info,
a:visited.btn-info {
  color: #fff;
}
a:link.btn-light,
a:visited.btn-light {
  color: #212529;
}
a:link.btn-dark,
a:visited.btn-dark {
  color: #fff;
}

/* vim: expandtab
 */
