forked from EdwinMartinezMendoza/practica-7
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid.css
More file actions
112 lines (97 loc) · 1.93 KB
/
grid.css
File metadata and controls
112 lines (97 loc) · 1.93 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
@import url("https://fonts.googleapis.com/css2?family=Public+Sans&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
height: 100%;
}
/* body {
font-family: "Public Sans", sans-serif;
font-size: 1.2rem;
min-height: 100%;
} */
.grid-container > * {
box-shadow: -1px 1px 7px 0px rgba(0, 0, 0, 0.75);
border-radius: 4px;
padding: 10px;
text-align: center;
}
.header {
grid-area: header;
background-color: #bcc2c9;
}
.menuBar {
position: fixed;
top: 5% ;
width: 100%;
background-color: #f5f5f5;
display: inline;
}
#horizontal li{
display: inline;
margin-left:100px;
}
.footer {
position: fixed;
top: 90% ;
width: 100%;
background-color: #f5f5f5;
}
.sidebar {
grid-area: sidebar;
background-color: #fdcfcf;
}
.mainLeft {
background-color: #c98888;
width: 49%;
float: left;
height: 700px;
}
.mainRight {
background-color: #f5ffbf;
width: 50%;
height: 700px;
float:right;
}
/* .footer {
grid-area: footer;
background-color: #8c96a0;
} */
/* .grid-container {
display: grid;
gap: 10px;
grid-template:
"header" 100px
"navbar" 50px
"main" auto
"sidebar" 100px
"footer" 100px;
} */
/* @media (min-width: 600px) {
.grid-container {
/* grid-template-columns: 200px auto;
grid-template-rows: 100px 50px auto 100px;
grid-template-areas:
"header header"
"navbar navbar"
"sidebar main"
"footer footer"; */
/* grid-template:
"header header" 100px
"navbar navbar" 50px
"sidebar main" auto
"footer footer" 100px /
200px auto;
}
} */
/* @media (min-width: 900px) {
.grid-container {
grid-template:
"header header header" 100px
"navbar main sidebar" auto
"footer footer footer" 100px /
200px auto 200px;
}
} */