-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
36 lines (32 loc) · 937 Bytes
/
style.css
File metadata and controls
36 lines (32 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
body {
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.grid-container {
display: grid;
/* Defines 4 columns, each taking up an equal fraction of the available space */
grid-template-columns: repeat(4, 1fr);
/* Defines 2 rows, each taking up an equal fraction of the available space */
grid-template-rows: repeat(2, 1fr);
/* Creates space between the tiles */
gap: 10px;
/* Ensures the grid takes up the full height of the viewport */
height: 100vh;
padding: 10px;
box-sizing: border-box;
}
.tile {
/* Basic styling for the tile container */
border: 1px solid #ccc;
background-color: #fff;
overflow: hidden; /* Hides any overflowing content */
display: flex;
flex-direction: column;
}
.tile iframe {
/* Makes the iframe fill the entire tile container */
width: 100%;
height: 100%;
border: none; /* Removes default iframe border */
}