mirror of
https://github.com/gryf/window-maker.github.io.git
synced 2025-12-17 11:10:18 +01:00
Added window decortation for main wrapper.
This commit is contained in:
@@ -6,6 +6,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
<div id="titlebar">
|
||||||
|
<div id="minimize"></div><div id="titlebar-inner">Window Maker: {{ page.title }}</div><div id="close"></div>
|
||||||
|
</div>
|
||||||
<header>
|
<header>
|
||||||
<h1>
|
<h1>
|
||||||
<a href="{{ site.baseurl }}/">
|
<a href="{{ site.baseurl }}/">
|
||||||
@@ -17,6 +20,9 @@
|
|||||||
<article>
|
<article>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</article>
|
</article>
|
||||||
|
<div id="resizebar">
|
||||||
|
<div id="resizel"></div><div id="resizebar-inner"></div><div id="resizer"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
BIN
img/close.png
Normal file
BIN
img/close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 197 B |
BIN
img/minimize.png
Normal file
BIN
img/minimize.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 173 B |
91
style.css
91
style.css
@@ -30,24 +30,109 @@ header h1 a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
header h1 span.second {color: white;}
|
header h1 span.second {color: white;}
|
||||||
header h1 span:first {color: black;}
|
header h1 span:first {color: black;}
|
||||||
|
|
||||||
|
#resizel, #resizer {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
height: 6px;
|
||||||
|
width: 28px;
|
||||||
|
border-left: 1px solid white;
|
||||||
|
border-top: 1px solid white;
|
||||||
|
border-right: 1px solid #555555;
|
||||||
|
}
|
||||||
|
|
||||||
|
#resizebar {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 2px;
|
||||||
|
display: inline-flex;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
margin-top: 0px;
|
||||||
|
padding: 0;
|
||||||
|
background: #aaaaaa;
|
||||||
|
height: 5px;
|
||||||
|
border-top: 1px solid #555555;
|
||||||
|
}
|
||||||
|
|
||||||
|
#resizebar-inner {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 0px;
|
||||||
|
height: 6px;
|
||||||
|
width: 100%;
|
||||||
|
border-left: 1px solid white;
|
||||||
|
border-top: 1px solid white;
|
||||||
|
border-right: 1px solid #555555;
|
||||||
|
}
|
||||||
|
|
||||||
|
#minimize, #close {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
height: 19px;
|
||||||
|
width: 19px;
|
||||||
|
border-left: 1px solid #b6b6b6;
|
||||||
|
border-top: 1px solid #b6b6b6;
|
||||||
|
border-right: 1px solid #616161;
|
||||||
|
border-bottom: 1px solid #616161;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#minimize {
|
||||||
|
margin-right: 1px;
|
||||||
|
background-image: url(/img/minimize.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
#close {
|
||||||
|
margin-left: 1px;
|
||||||
|
background-image: url(/img/close.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
#titlebar {
|
||||||
|
display: inline-flex;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
margin-top: 0px;
|
||||||
|
padding: 0;
|
||||||
|
background: black;
|
||||||
|
height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#titlebar-inner {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 0px;
|
||||||
|
background: black;
|
||||||
|
height: 19px;
|
||||||
|
width: 100%;
|
||||||
|
border-left: 1px solid #b6b6b6;
|
||||||
|
border-top: 1px solid #b6b6b6;
|
||||||
|
border-right: 1px solid #616161;
|
||||||
|
border-bottom: 1px solid #616161;
|
||||||
|
font-size: 0.8em;
|
||||||
|
font-color: white;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
#wrapper {
|
#wrapper {
|
||||||
|
position: relative;
|
||||||
width: 900px;
|
width: 900px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
/* padding: 1em; */
|
/* padding: 1em; */
|
||||||
padding: 0;
|
/* padding: 0; */
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
box-shadow: 0 0 15px #000000;
|
box-shadow: 0 0 15px #000000;
|
||||||
background-color: #aeaaae;
|
background-color: #aeaaae;
|
||||||
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
article {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
border-right: 1px solid #333;
|
|
||||||
/* border-bottom: 1px solid #333; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
|
|||||||
Reference in New Issue
Block a user