1
0
mirror of https://github.com/lrsjng/pagemap.git synced 2025-09-25 03:41:27 +02:00
Files
pagemap/src/demo/styles.css
Lars Jung a05a11d795 Update.
2019-04-27 21:20:11 +02:00

112 lines
1.7 KiB
CSS

* {
margin: 0;
padding: 0;
}
body {
font-family: Ubuntu, sans;
font-size: 16px;
color: #555;
}
body#boxes-demo {
width: 2000px;
height: 2000px;
background-color: #eee;
}
a, a:visited, a:active {
color: #1d77c2;
text-decoration: none;
}
a:hover {
color: #555;
}
main {
margin: 3em auto 6em auto;
max-width: 800px;
line-height: 1.6em;
}
h1 {
font-size: 3em;
font-weight: normal;
margin: 0 0 1em;
}
h2 {
font-size: 1.8em;
font-weight: normal;
margin: 3em 0 1em;
}
h3 {
font-size: 1.2em;
font-weight: bold;
margin: 2em 0 1em;
}
#banner {
position: absolute;
left: 0;
top: 0;
font-size: 16px;
margin: 4px;
padding: 4px 12px;
text-align: center;
line-height: 24px;
background: rgba(255,255,255,0.8);
border: 1px solid rgba(0,0,0,0.5);
}
#map {
position: fixed;
top: 0;
right: 0;
width: 160px;
height: 100%;
z-index: 100;
}
#container {
position: relative;
left: 100px;
top: 100px;
width: 600px;
height: 600px;
outline: 4px solid #222;
overflow: auto;
}
#content {
width: 800px;
height: 1000px;
background-color: #ccc;
}
#container2 {
position: relative;
left: 100px;
top: 100px;
width: 300px;
height: 400px;
outline: 4px solid #222;
overflow: auto;
}
#content2 {
width: 500px;
height: 600px;
background-color: #aaa;
}
.checkers {
background-image:
linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
background-size: 100px 100px;
background-position: 0 0, 50px 50px
}