Deep Bot - Twitch Streamer Assistant
Deep Bot => Custom Notifications => Topic started by: NexusSin on October 13, 2014, 04:16:37 AM
-
Hi, I got two images a friend designed I'd like to make my Follower Notification and Donation Notification.
http://postimg.org/image/qakeyxc4d/
http://postimg.org/image/4y15noktv/
-
This is my first CSS Conversion, so tell me how the code works!
Follow
Link : http://deepbot.tv/notifications/follownotification1.htm
Width: 580
Height: 220
CSS Code:
#follow-notification {
display: none;
position: absolute;
top: 0px;
left: 0px;
width: 580px !important;
height: 200px !important;
border-radius: 00px !important;
background-image: url('https://i.imgur.com/6Yd23FN.png') !important;
background-repeat: no-repeat;
}
#follow-notification .followname {
margin-top: 70px !important;
margin-left: 0px !important;
text-align: center !important;
width: 550px !important;
font-size: 60px !important;
font-weight: bold !important;
font-family: impact !important;
color: #00cebb !important;
-webkit-text-stroke-width: 2px;
-webkit-text-stroke-color: #000000;
-webkit-text-fill-color: #FFFFFF;
}
Preview:
(http://puu.sh/c9WRD/56e832d05d.jpg)
Donation
Link : http://deepbot.tv/notifications/donationnotification2.htm
Width: 580
Height: 220
CSS Code:
#donor-notification {
width: 580px !important;
height: 200px !important;
background-color: transparent !important;
background-image:url('https://i.imgur.com/sasKi0r.png') !important;
background-repeat: no-repeat !important;
background-size: initial !important;
}
#donor-notification .header {
position: absolute !important;
visibility: hidden !important;
}
#donor-notification .streamname {
visibility: hidden !important;
}
#donor-notification .message {
visibility: hidden !important;
}
#donor-notification .amount {
font-size: 55px !important;
font-family: Impact !important;
font-weight: normal !important;
text-shadow: 3px 4px 1px #000 !important;
color: white !important;
}
#donor-notification .donor {
font-size: 55px !important;
font-family: impact !important;
font-weight: normal !important;
text-shadow: 3px 4px 1px #000 !important;
color: white !important;
}
#donor-notification .donor:after {
content: ' - ';
}
#donor-notification .title {
padding-top: 95px !important;
margin-left: 00px !important;
width: 100% !important;
float: left !important;
text-align: center !important;
}
Preview:
(http://puu.sh/c9XjL/32fdff69f0.jpg)
-
Code works, but the image is really big! I think thats my fault for not resizing the original image? What should I do?
Edit: Actually I think I know what to do from here, thank you so much! :)
-
I fixed the follow notification one myself, but I can't figure the donation one lol. Here's the resized image.
http://i.imgur.com/OA5sdpu.png
-
Link : http://deepbot.tv/notifications/donationnotification2.htm
Width: 380
Height: 190
CSS Code:
#donor-notification {
width: 290px !important;
height: 100px !important;
background-color: transparent !important;
background-image:url('https://i.imgur.com/OA5sdpu.png') !important;
background-repeat: no-repeat !important;
background-size: initial !important;
}
#donor-notification .header {
position: absolute !important;
visibility: hidden !important;
}
#donor-notification .streamname {
visibility: hidden !important;
}
#donor-notification .message {
visibility: hidden !important;
}
#donor-notification .amount {
font-size: 25px !important;
font-family: Impact !important;
font-weight: normal !important;
text-shadow: 3px 4px 1px #000 !important;
color: white !important;
}
#donor-notification .donor {
font-size: 25px !important;
font-family: impact !important;
font-weight: normal !important;
text-shadow: 3px 4px 1px #000 !important;
color: white !important;
}
#donor-notification .donor:after {
content: ' - ';
}
#donor-notification .title {
padding-top: 49px !important;
margin-left: 00px !important;
width: 100% !important;
float: left !important;
text-align: center !important;
}