updating style for function.js

styles for lower right media box