-
Notifications
You must be signed in to change notification settings - Fork 0
/
banner.css
executable file
·99 lines (86 loc) · 1.74 KB
/
banner.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
/**************************
B A N N E R
**************************/
#banner,
#banner .text {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 80px;
cursor:pointer;
}
#banner {
width: 80%;
margin: 0 auto;
}
#banner span {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
#banner h1 {
padding: 25px;
font-size: 1.3em;
border-right: solid 3px rgba(250, 250, 250, .3);
}
#banner h2 {
font-size: 1.3em;
margin: 2px 10px;
}
#banner h2:hover {
text-decoration: underline;
}
#banner h3 {
font-weight: 300;
margin: 2px 10px;
}
#banner .text {
color: white;
background: -webkit-linear-gradient(left, #fea60a, #fa5831);
background: linear-gradient(left, #fea60a, #fa5831);
width: 100%;
}
#banner img {
height: 80px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
#banner .text {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
}
@media screen and (min-width: 850px) {
#banner .text {
font-size: 1.25vw;
}
}
@media screen and (max-width: 850px) {
#banner h2 {
display: none;
}
#banner .text{font-size:2.5vw;}
#banner {
width:95%;
padding: 5px;
}
}