Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
LeahJKH committed Jun 26, 2024
1 parent 6f04d8a commit 8485fc9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
18 changes: 10 additions & 8 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ body {
overflow: hidden;
background-color: whitesmoke;
border: grey 3px solid;
top: 50px; /* Adjust to position the windows below the start bar */
left: 50px; /* Adjust initial position */
z-index: 10; /* Ensure they are above other elements */
top: 50px;
left: 50px;
z-index: 10;
}

#bin-full.draggable,
Expand Down Expand Up @@ -119,12 +119,12 @@ body {
.top-menu {
padding: 10px;
background-color: #1186e3;
width: 100%;

display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
cursor: grab; /* Indicate draggable area */
cursor: grab;
}

.top-menu-pic {
Expand Down Expand Up @@ -167,7 +167,6 @@ body {

#start-top {
background-color: #245edc;
width: 100%;
height: 20%;
display: flex;
justify-content: left;
Expand Down Expand Up @@ -196,7 +195,6 @@ body {

#start-bottom {
background-color: #245edc;
width: 100%;
height: 20%;
display: flex;
justify-content: right;
Expand Down Expand Up @@ -226,6 +224,10 @@ body {
.column {
display: flex;
flex-direction: column;

}
.full-width, #start-bottom, #start-top, .top-menu {
width: 100%;
}

.resizer {
Expand All @@ -238,7 +240,7 @@ body {
cursor: se-resize;
}

/* Add resizable class to all full pages */

.resizable {
resize: both;
overflow: auto;
Expand Down
2 changes: 1 addition & 1 deletion js/apps/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function setupBin() {
page.style.display = "none";

const columnDiv = document.createElement('div');
columnDiv.className = 'column';
columnDiv.className = 'column full-width';
const topMenuDiv = document.createElement('div');
topMenuDiv.className = 'top-menu draggable';

Expand Down
2 changes: 1 addition & 1 deletion js/apps/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function setupBinary() {


const columnDiv = document.createElement('div');
columnDiv.className = 'column';
columnDiv.className = 'column full-width';

const topMenuDiv = document.createElement('div');
topMenuDiv.className = 'top-menu draggable';
Expand Down
2 changes: 1 addition & 1 deletion js/apps/cv.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function setupCV() {


const columnDiv = document.createElement('div');
columnDiv.className = 'column';
columnDiv.className = 'column full-width';
const topMenuDiv = document.createElement('div');
topMenuDiv.className = 'top-menu draggable';
const topRowDiv = document.createElement('div');
Expand Down
2 changes: 1 addition & 1 deletion js/apps/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function setupProjects() {


const columnDiv = document.createElement('div');
columnDiv.className = 'column';
columnDiv.className = 'column full-width';
const topMenuDiv = document.createElement('div');
topMenuDiv.className = 'top-menu draggable';
const topRowDiv = document.createElement('div');
Expand Down

0 comments on commit 8485fc9

Please sign in to comment.