-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcharacterPage.css
More file actions
115 lines (96 loc) · 2.1 KB
/
characterPage.css
File metadata and controls
115 lines (96 loc) · 2.1 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
113
114
115
.backgroundImg{
position: fixed;
width: 100vw;
height: 100vh;
background-image: url("./Assets/Backgorund.png");
z-index: 0;
top: 100px;
opacity: 0.3;
background-size:cover;
background-repeat: no-repeat;
background-position: 50% 0 ;
}
.bg-content{
width: 100vw;
position: relative;
top: 150px;
z-index: 1;
text-align: center;
}
.bg-content .gridContainer{
display: inline-grid;
grid-template-columns: auto auto auto auto auto;
grid-column-gap: 40px;
grid-row-gap: 50px;
margin-bottom: 50px;
}
.bg-content .gridContainer .gridItem{
border: 4px solid;
border-color: #D43B1B;
background-color: #083554;
}
.bg-content .gridContainer .gridItem:hover{
opacity: 0.7;
}
.bg-content .gridContainer .gridItem img{
max-width: 150px;
}
.bg-content .gridContainer .gridItem p{
color: white;
font-weight: bold;
}
.bg-content h1{
position: relative;
color: #D43B1B;
font-size: 35px;
-webkit-text-stroke: 3px #083554;
margin: 0;
padding: 20px;
}
@media only screen and (max-width: 1024px) {
.bg-content .gridContainer{
grid-template-columns: auto auto auto auto;
}
.bg-content .gridContainer .gridItem img{
max-width: 140px;
}
}
@media only screen and (max-width: 800px) {
.bg-content{
top: 100px;
}
.backgroundImg{
top: 80px;
}
.bg-content .gridContainer{
grid-template-columns: auto auto auto;
grid-column-gap: 30px;
grid-row-gap: 40px;
}
.bg-content .gridContainer .gridItem img{
max-width: 120px;
}
.bg-content h1{
font-size: 20px;
-webkit-text-stroke: 1px #083554;
}
}
@media only screen and (max-width: 500px) {
.bg-content{
top: 70px;
}
.backgroundImg{
top: 60px;
}
.bg-content .gridContainer{
grid-template-columns: auto auto;
}
.bg-content .gridContainer .gridItem img{
max-width: 90px;
height: auto;
}
.bg-content h1{
font-size: 20px;
-webkit-text-stroke: 1px #083554;
}
}