-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainStyles.css.bkp
More file actions
107 lines (93 loc) · 1.72 KB
/
MainStyles.css.bkp
File metadata and controls
107 lines (93 loc) · 1.72 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
.head{ grid-area: header; background-color:purple; text-align:center; font-size:30px;color:white;}
.menu { grid-area: menu; }
.main { grid-area: main; }
.foot { grid-area: footer; background:black ; color:white; text-align:center; }
.foot a { color: grey; }
.foot a:visited { color:grey; }
.grid-container{
display: grid;
padding: 10px;
grid-template-areas:
'header'
'menu'
'main'
'footer';
grid-gap: 10px;
height: 100vh;
}
.grid-container > div {
padding: 20px;
color:black;
text-align: justify;
}
.grid-container > h1 {
font-size: 40px;
}
html{
text-align: justify;
color: black;
font-size: 15px;
text-indent: 10px;
}
h1 {
text-align: center;
font-size: 40px;
color: white;
background-color: purple;
}
h2 {
text-align: left;
font-size: 30px;
font-weight: bold;
background-color: grey;
}
a {
color:rgb(0, 38, 153);
text-decoration:none;
}
a:visited {
color:rgb(0, 57, 230);
}
.social_grid {
grid-template-columns: 1fr 1fr ;
display:grid;
color:white;
}
.menu_grid {
grid-template-columns: 1fr 1fr;
display:grid;
}
.menu_grid a, a:visited {
color:black;
text-decoration:none;
}
@media only screen and (min-width: 768px){
.grid-container{
grid-template-areas:
'header header header'
'menu main main'
'footer footer footer';
}
html{
text-align: justify;
color: black;
font-size: 20px;
}
h1 {
text-align: left;
font-size: 50px;
}
h2 {
text-align: left;
font-size: 40px;
font-weight: bold;
}
.social_grid {
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
display:grid;
}
.menu_grid {
grid-template-columns: 1fr;
display:grid;
}
}