forked from BlazingGames/blazing-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexstyle.css
114 lines (98 loc) · 1.73 KB
/
indexstyle.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
ul {
transition: font-size 0.3s ease-in-out;
}
ul li {
transition: font-size 0.3s ease-in-out;
}
.sectionbutton {
position: relative;
display: inline-block;
width: 250px;
height: 250px;
background-color: rgb(117, 117, 117);
border-color: rgb(58, 58, 58);
border-style: solid;
margin: 5px;
vertical-align: top;
transition: all 0.3s ease-in-out;
}
.sectionbutton:hover {
background-color: #333333;
color: #333333;
border-color: rgb(32, 32, 32);
cursor: pointer;
}
.sectionbutton:hover > .title, .sectionbutton:hover > .desc, .sectionbutton:hover > ul {
color: rgb(207, 207, 207);
cursor: cursor;
}
.sectionbutton > .title {
transition: font-size 0.3s ease-in-out;
color: white;
font-size: 24px;
font-weight: bold;
position: absolute;
width: 100%;
top: 5px;
text-align: center;
z-index: 1;
background-color: rgba(0, 0, 0, 0.2);
}
.sectionbutton > .desc {
position: absolute;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
width: 85%;
height: 85%;
transition: font-size 0.3s ease-in-out;
color: whitesmoke;
font-size: 16px;
text-align: left;
}
#content
{
position: absolute;
background-color: rgba(0, 0, 0, 0.2);
top: 50%;
left: 50%;
height: 70%;
padding: 10px;
border-radius: 10px;
font-size: 25px;
transform: translate(-50%, -50%);
text-align: center;
color: white;
width: 75%;
}
#sectionbuttons
{
position: absolute;
top: 50%;
width: 100%;
transform: translate(0, -50%);
}
#sections
{
position: relative;
flex: 1 1 auto;
}
#content
{
display: flex;
flex-flow: column;
}
#title
{
flex: 0 1 auto;
text-align: center;
font-size: 45px;
}
#sectiondescription
{
flex: 0 1 auto;
}
.sectionbutton > .desc.villagerdesc
{
height: 75%;
}