-
Notifications
You must be signed in to change notification settings - Fork 0
/
framework-styles.css
165 lines (148 loc) · 4.44 KB
/
framework-styles.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
body {
margin: 0;
padding: 0;
overflow: hidden;
height: 100%;
max-height: 100%;
font-family: Sans-serif;
line-height: 1.5em;
}
#header {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 80px;
overflow: hidden; /* Disables scrollbars on the navigation frame. To enable scrollbars, change "hidden" to "scroll" */
background: #123456;
}
#logo img {
padding: 10px;
float: left;
height: 60px;
}
#badge {
padding: 10px 20px;
float: left;
}
main {
position: fixed;
top: 100px; /* Set this to the height of the header */
left: 0;
right: 0;
bottom: 0;
overflow: auto;
background: #fff;
}
.innertube {
margin: 25px; /* Provides padding for the content */
}
h1 {
text-align: center;
}
p {
color: #555;
padding-left: 25px;
text-align: justify;
}
a {
color: #e91a1a;
font-weight: 900;
text-transform: uppercase;
text-decoration: wavy;
font-size: 12px;
border-radius: 5px;
}
/* Menu */
nav {
margin: 0 auto;
padding: 0;
float: right;
}
nav ul {
list-style: none;
padding: 0;
float: left;
}
nav ul li {
margin: 0;
padding: 0 0 0 8px;
float: left;
}
nav ul li a {
display: block;
margin: 0;
padding: 5px 10px;
color: #fedc69;
text-decoration: none;
text-transform: uppercase;
}
nav ul li.active a,
#top-nav ul li a:hover {
color: #d3d3f9;
}
/*IE6 fix*/
* html body {
padding: 100px 0 0 0; /* Set the first value to the height of the header */
}
* html main {
height: 100%;
width: 100%;
}
/* Optional: Style your lightbox iframe */
.button-container {
display: flex;
align-items: center; /* Vertically center content */
justify-content: center; /* Horizontally center content */
}
button.open-lightbox {
margin: 10px;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
button.open-lightbox:hover {
background-color: #0056b3;
}
.lightbox-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
}
.lightbox-content {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
z-index: 1001;
width: 80%;
height: 80%;
}
.lightbox-content iframe {
width: 100%;
height: 100%;
border: none;
}
.close-lightbox {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
}
.close-lightbox:hover {
color: red;
}