Newer
Older
gpx_web_viewer / css / stylesheet.css
html {
    font-family:sans-serif;
    color:#080808;
    overflow-y: scroll;
    height: 100%;
    font: 100%/1.5 sans-serif;
    word-wrap: break-word;
    margin: 1 auto;
    padding: 1.5em;
}

body {
    background-color: #F6F1EC;
    margin:1 auto;
    padding:1.5rem;
    color: black;
    font-size: 18px;
    line-height: 130%;
    /* sidebar */
    display: flex;
}

/* div to clear float style */
.clear {
    clear: both;
}

@media (min-width: 768px) {
    html {
        font-size: 100%;
        max-width: 100em;
    }
    #map {
        min-width: 640px;
        min-height: 840px;
    }

    .dbutton {
        padding: 12px 50px;
    }
}

@media(max-width:768px) {
    html {
        font-size: 100%;
        max-width: 48em;
    }
    body {
        display: inline-block;
    }
    #map {
        min-width: 480px;
        min-height: 640px;
       
    }
}

h1 {
    text-align: center;
    margin: auto;
    color: purple;
}
pre {
    text-align: center;
    margin: auto;
    color: purple;
}
#map {
    width: 100%;
    height: 120%;
    margin: auto;
}
/* TOOLTIP formatting */
.maptooltip {
    font-size: 14px;
    background-color: black;
    color: #F6F1EC;
    padding: 20px;
    margin: 0px 5px 0px 5px;
    border-radius: 5px;
    width: 110%;
    height: 100%;
}

.maptooltip-left {
    float: left;
    text-align: left;
    width: 50%;
    height: 50%;
    text-wrap: wrap;
}

.maptooltip-right {
    float: right;
    text-align: right;
    width: 50%;
    height: 50%;
    text-wrap: wrap;
}

.maptooltip h3 {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}

.maptooltip h4 {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0px;
}

/* override default leaflet formatting */
.leaflet-tooltip {
    background-color: transparent;
    border: 5px;
    box-shadow: none;
}

/* hide tooltip arrow */
.leaflet-tooltip-top:before, 
.leaflet-tooltip-bottom:before, 
.leaflet-tooltip-left:before, 
.leaflet-tooltip-right:before {
    border: none !important;
}

/* track list */
.tracks {
    display: inline-block;
    text-align: center;
    /* width: 60%; */
    /* margin-left: 20%; */
    list-style: none;
}
.tracks .track a {
    display: flex;
    padding: 1em;
    color: black;
    cursor: pointer;
}
.tracks .track a:hover,
.tracks .track a:focus,
.tracks .track a:active {
    text-decoration: none;
    background: #f9e197;
}
.tracks .track date {
    vertical-align: middle;
    padding-right: 1rem;
    color: grey;
}

.tracks .track span {
    text-align: left;
}

.tracks p {
    font-size: 14px;
}

/* sidebar */
.sidebar {
    height: 100%;
    width: 30%;
    padding: 0.5em;
    
    nav .tracks {
        list-style: none;
        margin: 0;
        padding: 0;
        
        li {
            padding: 0;
            margin: 0;
        }
    }
}

/* side/bottom track text */
.bottomtext {
    width: 30%;
    padding: 1em;
    background-color: #F6F1EC;
    vertical-align: middle;
    padding-right: 1rem;
    color: grey;

    a {
        margin: 2em;
        text-decoration: none;
        text-align: left;
        text-color: black;
    }

    a:hover,
    a:focus,
    a:active {
        text-decoration: none;
        background: #f9e197;
    }
}

/* download button */
.dbutton {
  appearance: button;
  background-color: purple;
  background-image: none;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: #fff 4px 4px 0 0,#000 4px 4px 0 1px;
  box-sizing: border-box;
  color: #F6F1EC;
  cursor: pointer;
  display: inline-block;
  font-family: ITCAvantGardeStd-Bk,Arial,sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0 5px 10px 0;
  overflow: visible;
  padding: 12px 40px;
  text-align: center;
  text-transform: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}

.dbutton:focus {
  text-decoration: none;
}

.dbutton:hover {
  text-decoration: none;
}

.dbutton:active {
  box-shadow: rgba(0, 0, 0, .125) 0 3px 5px inset;
  outline: 0;
}

.dbutton:not([disabled]):active {
  box-shadow: #fff 2px 2px 0 0, #000 2px 2px 0 1px;
  transform: translate(2px, 2px);
}

@media (min-width: 768px) {
}

.cbutton {
    background-color: red;
}