aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2020-11-13 22:55:36 +0530
committerPriyansh <[email protected]>2020-11-13 22:55:36 +0530
commitbea21ea57d236fbae538b24960de1f10aa15df2e (patch)
tree6237e048ab857ec768098138d46bf2dfa150075b
parentdce0897d9f427f70de8ebf0d56bf998aaa022900 (diff)
downloadnineties-computing-bea21ea57d236fbae538b24960de1f10aa15df2e.tar.xz
nineties-computing-bea21ea57d236fbae538b24960de1f10aa15df2e.zip
Added Window Styles
-rw-r--r--css/layouts.css41
-rw-r--r--index.html12
2 files changed, 52 insertions, 1 deletions
diff --git a/css/layouts.css b/css/layouts.css
index 50a78ae..414f7b6 100644
--- a/css/layouts.css
+++ b/css/layouts.css
@@ -139,3 +139,44 @@
background-position: center;
background-repeat: no-repeat;
}
+
+.window {
+ background-color: #eeeeee;
+ position: absolute;
+}
+
+.non-resizable {
+ width: 720px;
+ height: 480px;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+
+.window header {
+ background-color: #3c3cc7;
+ color: white;
+ padding: 20px 0px;
+}
+
+.title {
+ font-size: 14px;
+ font-family: 'Chicago';
+ position: absolute;
+ left: 50%;
+ top: 10px;
+ transform: translateX(-50%);
+}
+
+.buttons {
+ font-size: 14px;
+ font-family: 'Chicago';
+ position: absolute;
+ right: 5px;
+ top: 9px;
+}
+
+.close {
+ padding: 9px 15px 14px 15px;
+ background-color: red;
+}
diff --git a/index.html b/index.html
index e8a3c4c..3e99fee 100644
--- a/index.html
+++ b/index.html
@@ -113,7 +113,17 @@
</div>
</div>
</section>
- <section id="desktop" class="fullscreen bg-skyblue wallpaper"></section>
+ <section id="desktop" class="fullscreen bg-skyblue wallpaper">
+ <div class="window non-resizable draggable">
+ <header>
+ <span class="title">Preferences</span>
+ <div class="buttons">
+ <span class="close" id="closePreferences">&times;</span>
+ </div>
+ </header>
+ <div class="windowContents"></div>
+ </div>
+ </section>
<!-- Scripts -->
<script src="js/createAccount.js"></script>
<script src="js/acountLogin.js"></script>