-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (92 loc) · 2.02 KB
/
style.css
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
113
114
.g-col {
padding: 0 1.5em;
position:relative;
}
.g-row:after {
content: "";
clear: both;
display: table;
}
@media only screen {.g-col {
float: left;
width: 100%;
box-sizing: border-box;
}}
/* Grid settings for larger than 48em vieports*/
@media only screen and (min-width: 48em) {
#g-product {
width: 66.66%;
left: 33.33%;
}
#g-sidebar {
width: 33.33%;
right: 66.66%;
}
}
/* All remaining css */
#g-container {
width: 98%;
background-color: white;
font-family: verdana;
font-size: 16px;
text-align: justify;
}
#g-header {
background-color: white;
color: black;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
padding: 0.5em;
}
#g-photo {
max-width: 60%;
margin-left: auto;
margin-right: auto;
height: auto;
display: block;
}
#g-h1 {
margin:0.5em 0 0 0;
color: black;
}
#g-content {margin: 0 -1.5em;}
.g-h2 {
background-color: rgb(245, 245, 245);
color: black;
padding: 0.5em 1em;
border-radius: 10px;
text-align: center;
}
#g-footer {
background-color:whitesmoke;
padding:0;
}
.g-menu-item {
text-decoration: none;
font-weight: bold;
text-align: center;
color: black;
padding: 1em;
display: block;
border-top: 1px solid rgba(255,255,255,0.2);
border-bottom: 1px solid rgba(0,0,0,0.3);
}
.g-menu-item:hover {
text-decoration: underline;
}
.g-menu-item:last-of-type {border-bottom:none;}
@media only screen and (min-width: 48em) {
#g-h1 {margin:0 0 0 2em;}
#g-footer {
display: flex;
justify-content: center;
}
#g-header {
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
.g-menu-item {border: none;}
}