JAVASCRIPT   32
tcblock
Guest on 11th March 2023 12:17:58 AM


  1.  var tcblock = {
  2.         // Required and steady
  3.         'container': 'tc',
  4.         'type': 'relatedsearch',
  5.         'colorBackground': 'transparent',
  6.        
  7.         'number': 3,
  8.        
  9.         // Font-Sizes and Line-Heights
  10.         'fontSizeAttribution': 14,
  11.         'fontSizeTitle': 24,
  12.         'lineHeightTitle': 34,
  13.         // Colors
  14.         'colorAttribution': '#aaa',
  15.         'colorTitleLink': '#0277bd',
  16.         // Alphabetically
  17.         'horizontalAlignment': 'center',
  18.         'noTitleUnderline': false,
  19.         'rolloverLinkColor': '#01579b',
  20.         'verticalSpacing': 10,
  21.         'webFontFamily': 'Poppins'
  22.     };
  23.     var searchboxBlock = {
  24.         'container': 'search',
  25.         'type': 'searchbox',
  26.         'fontSizeSearchInput': 12,
  27.         'hideSearchInputBorder': false,
  28.         'hideSearchButtonBorder': true,
  29.         'fontSizeSearchButton': 13,
  30.         'colorBackground': 'transparent',
  31.         'colorSearchButton': '#848484',
  32.         'colorSearchButtonText': '#fff',
  33.         'webFontFamily': 'Poppins'
  34.     };

Raw Paste

Login or Register to edit or fork this paste. It's free.