Results 1 to 4 of 4

Thread: HTML5 + CSS3 Website doing something I can't explain

Hybrid View

  1. #1
    Join Date
    Jan 2013

    HTML5 + CSS3 Website doing something I can't explain

    Recently I saw a truly amazing website using all the latest technoligies over at fatmedia dot co dot uk

    One fantastic thing this site does is make use of css3 to render some fantastic looking nav bar buttons. It uses the dropshadow indent as well. I wanted to know what font was being used as it was all html and text no images. When I used firebug to inspect the styles being applied firebug clearly showed a line going through the font style being applied via the style sheet but failed to show what style it was infact inheriting.

    I tried to recreate these buttons but they didn't seem quite right. I even went as far as copying the html and css to just see it reproduced and to learn from it but I failed at doing this.

    Finally as a last attempt i viewed the sourced code and saved it locally. Then I put a base url at the top of the page just after the head bracket and put the site url as its base. Then I loaded the local version and everything looked spot on the site worked the same from my c: with one difference. The font wasn't the same! It was slightly different.

    I am so intrigued as to what tricky is being used here to prevent the font being used being identified.

    Any ideas people?

  2. #2
    Join Date
    Nov 2012

    Lightbulb Fonts found in the html and css source

    From the "style.css", it looks like the website is using :
    1. HelveticaNeue
    2. DobraSlab
    3. proxima-nova
    4. din-condensed-web

    It is also loading font from typekit.net, "proxima-nova" and "din-condensed-web"

    Try googling the font name and see if you can match it.

    Hope that helps.

  3. #3
    Join Date
    Jan 2013

    Thanks but that isn't it

    I know that's what the css says, when I use firebug I get this line

    font: bold 1.111em/1.6em 'DobraSlab',arial,sans;

    With a line through it to indicate it is not the font style being applied and it is being overridden from elsewhere. Firebug normally shows what is being applied but it doesn't on this site.

    I don't get it. Why if you save it locally and reference all the style sheets with the absolute paths does it not load locally the same?

    The rest of the imagery and displays 100% accurate locally just not the nav bar. I can't see a logical reason for this but there must be one?

  4. #4
    Join Date
    Jan 2013
    Could this be a culprit?

    <script src="//use.typekit.net/xvd0ont.js"></script>

    It's almost as if there is a last minute bit of rending going on. It is also applied to the white huge text infront of the office animation directy below the nav bar. When saved locally the text isn't quite as bold. I'm curious as to why there is a double //. Possibly it is some type of script that does some rending and generates a css from looking at it and possibly it only accepts requests locally from the site server?

    Is this some kind of new protection scheme?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.09923 seconds
  • Memory Usage 2,969KB
  • Queries Executed 13 (?)
More Information
Template Usage (29):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (27):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./includes/functions_threadedmode.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (71):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates