Author Topic: Custom Notification Halp plz  (Read 1978 times)

0 Members and 1 Guest are viewing this topic.

NexusSin

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: NexusSin
Custom Notification Halp plz
« 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/


emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Custom Notification Halp plz
« Reply #1 on: October 13, 2014, 04:54:57 AM »
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:
Code: [Select]
#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:


Donation

Link : http://deepbot.tv/notifications/donationnotification2.htm
Width: 580
Height: 220

CSS Code:
Code: [Select]
#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:

NexusSin

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: NexusSin
Re: Custom Notification Halp plz
« Reply #2 on: October 13, 2014, 05:07:23 AM »
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! :)

NexusSin

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: NexusSin
Re: Custom Notification Halp plz
« Reply #3 on: October 13, 2014, 05:18:18 AM »
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

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Custom Notification Halp plz
« Reply #4 on: October 13, 2014, 05:29:55 AM »
Link : http://deepbot.tv/notifications/donationnotification2.htm
Width: 380
Height: 190

CSS Code:
Code: [Select]
#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;
}