Production
Posted by Justin Bernard on February 24, 2015
new project, redesigning the entire webb site
initial page files/fonts/etc
http://cloud.fleeangrybear.com/373u3V1W1b2B
he made this in illus, see if there is an easy way to take the ai and convert to a psd, its just so much easier to slice and dice for web from psd than illus...
initial page files/fonts/etc
http://cloud.fleeangrybear.com/373u3V1W1b2B
he made this in illus, see if there is an easy way to take the ai and convert to a psd, its just so much easier to slice and dice for web from psd than illus...
Comments
Justin Bernard on February 25, 2015:
https://dl.dropboxusercontent.com/u/7197139/toAngrybear_Feb25.zip
convert to psd, and sort through and organize for us. won't need all the placed files i think once its turned into psd
Taylor Bernard on February 25, 2015:
http://cloud.fleeangrybear.com/1g1f1l1J3u3b
only thing i saw that may cause issues is that there are few different 'DESKTOP" versions of files. most of the artwork is based around an iPad template which is 1080px wide. the 'desktop' version files are same artwork, but 1800px wide.
Justin Bernard on February 25, 2015:
how will that cause issues though? like we don't have enough desktop view sizes?
its a responsive site, meaning it has to toggle between desktop/mobile
Taylor Bernard on February 25, 2015:
but all the pages are built around iPad template. then theres like 3 Desktop pages. dont understand why just those and why just 3
Justin Bernard on February 25, 2015:
these sites usually do a good job
http://www.fontsquirrel.com/tools/webfont-generator
http://www.font2web.com/
(sometimes fonts get flagged as 'not legal to convert', let me know if you have any issues, i normally just look for another tool that doesnt flag them)
it should give you like 3-4 new formats (eot, etc) for each one, plus some css that points to it
Justin Bernard on February 25, 2015:
put fonts in a type folder in it, throw that action up in a subdirectory on ab like angrybear.com/webb/maverick
Justin Bernard on February 25, 2015:
thx
Taylor Bernard on February 25, 2015:
Justin Bernard on February 25, 2015:
Justin Bernard on February 27, 2015:
just trim it down so its the design only, so that the grid/selection math makes sense. so no ipad frame, or even the browser header, just trim to actual design area.
thx
Taylor Bernard on February 27, 2015:
http://cloud.fleeangrybear.com/1Q450B3N2F2M
Justin Bernard on February 27, 2015:
hit me with
zip of your boilerplate build thus far so i can check it out
Taylor Bernard on February 27, 2015:
Taylor Bernard on February 27, 2015:
whys this div still not showing up. gotta be something easy
Justin Bernard on February 27, 2015:
so in html, its <header></header>
in css its just header
in html it's <div id="container"></div>
in css its #container
in html its <div class="mysomething"></div>
in css it's .mysomething
Taylor Bernard on February 27, 2015:
Justin Bernard on February 27, 2015:
Taylor Bernard on February 27, 2015:
margin-left: auto;
margin-right: auto;
to horz align
Justin Bernard on February 27, 2015:
Taylor Bernard on February 27, 2015:
like on this one below. probably the best way to encase those two 50% divs would be to place them in a full panel size div, center align it, then put each in there and left align one and right align the other?
if thats the case, since the red stroke div would just be a container and not have any properties or direct content, do you do it in index.html or do you make another div in css just as a placeholder?
Justin Bernard on February 27, 2015:
css is pure properties
html is organization
so yes, always keep to model you have going thus far
magic for the above
the way to handle that would this
make a wrapper for both of those objects
<div id="somethingwrapper" class="clearfix">
<div id="left_image></div>
<div id="right_image></div>
</div>
notice i added a id and class to the wrapper, and added clearfix as a class. clearfix is basically browser magic that allows the floats to work correctly
then, you go in css and do this:
#somethingwrapper {
display: block
position: relative:
width: 1080px;;
height: 363px;
}
#somethingwrapper #left_image {
display: block
position: relative:
width: 540px;;
height: 363px;
float: left;
}
#somethingwrapper #right_image {
display: block
position: relative:
width: 540px;;
height: 363px;
float: right;
}
notice i added the float properties. that does exactly what it sounds like. but its important you have a div that contains them, so they know what their left/right float limits are...
Taylor Bernard on February 27, 2015:
why doesnt it do
{L
R]
instead of [LR]
======
//<div id="somethingwrapper" class="clearfix">
<div id="left_image></div>
<div id="right_image></div>
</div>
notice i added a id and class to the wrapper, and added clearfix as a class. clearfix is basically browser magic that allows the floats to work correctly
then, you go in css and do this:
#somethingwrapper {
display: block
position: relative:
width: 1080px;;
height: 363px;
}
#somethingwrapper #left_image {
display: block
position: relative:
width: 540px;;
height: 363px;
float: left;
}
#somethingwrapper #right_image {
display: block
position: relative:
width: 540px;;
height: 363px;
float: right;
}
Justin Bernard on February 27, 2015:
if you didnt put in the floats, it would just stack them vertically
floats make it try to squeeze to sides, so it can fit in the container
the clearfix class addition, that basically keeps the floats nested and keeps from breaking things outside of that wrapper div.
Taylor Bernard on February 27, 2015:
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
Taylor Bernard on February 27, 2015:
breaking for me of course.
whats best way to do this part.
have some 'overlap' divs...
way i thought may be best is to make container to house all 3, then top left align the 1080x540
left align float with margin of 545 to get it to the bottom
then right align the 539x540 and margin 410 from top.
the right is getting spit out of the container to below it in a new div.
what you think.
Taylor Bernard on March 2, 2015:
Justin Bernard on March 2, 2015:
when you do that, you can overlap, as you can assign an arbitrary, higher number to the overlap, and put it on top of something. you also set its positioning to absolute normally
dont worry about that though, as i may have to change it up for how the site will responsive/scale
post up files when you get roughed out, ill take a look, see what to move onto next, maybe fonts/type layout...
Taylor Bernard on March 2, 2015:
read that to be able to use z-index you have to specifiy position beforehand.
on the container or each div? and which to use relative on each one?
Justin Bernard on March 2, 2015:
if you have done all other stuff on different page layouts, lemme know, and post stuff up on server so i can check out,a nd ill point you to next things (till i can help you sort out z index)
thx
Justin Bernard on March 3, 2015:
how to embed images:
background: url('../img/global/fixed_nav_home_btn.png') no-repeat 0 0;Taylor Bernard on March 3, 2015:
Justin Bernard on March 3, 2015:
Taylor Bernard on March 3, 2015:
all glitched out. shut off the glitch meter because it was smoking and overloaded with maximum glitch
Taylor Bernard on March 3, 2015:
Justin Bernard on March 3, 2015:
have you work on other things, show you how to handle text/etc
Taylor Bernard on March 3, 2015:
http://cloud.fleeangrybear.com/1r2u0J452v3U
Justin Bernard on March 3, 2015:
Taylor Bernard on March 3, 2015:
you ever make .ico file with multiple sizes? you cant do that in PS .ico export. have to use software to bundle multiple sizes for IE taskbar, opera, ect.
they are like 64x64, 32x32, 128x128, ect.
if it doesnt have it in the .ico does it scale the 16x16 up cause that would be real bad if so
Justin Bernard on March 3, 2015:
ive never used this, but it looks cool
http://www.xiconeditor.com/
if you hit 'import', you'll notice they are asking for the diff size png's you've already made, i think it just packages it all together for you...
shoot me a screen of the icon you are using first just to double check all good
Justin Bernard on March 3, 2015:
shoot me what you have with image inclusion so i can double check to see if doing right before get too far along
may be semantic stuff i can help with
Taylor Bernard on March 4, 2015:
here's updated code with some bg layout. a lot of the images i chopped out arent being used, but are in the img folder. have to figure out how to float them inside divs, ect.
and will do the code commenting next as well
http://cloud.fleeangrybear.com/0E140v20280F
Justin Bernard on March 4, 2015:
i cleaned up one html file to show you how to structure stuff.
Taylor Bernard on March 4, 2015:
how is this looking format wise.
http://cloud.fleeangrybear.com/2M1t1U2C0a0s
couple questions
does the note <!-- XXX --> lines get baked into the normalize.css file and take up space? wondering why we take out lines and try and keep minimal as possible yet add so many lines of notes.
and...
if just tabbing divs over in css to make sense visually what they are subsets of... then why do
.header_container_short {
as parent and
.header_container_short .top_nav_horz_strip {
as child.
since it in theory just dismisses the first div and looks at last?
basically if we space over in css for visual, why do it in code as well.
Justin Bernard on March 4, 2015:
that strips everything out, including whitespace, and makes it suuuuuper small file size. the common practice is to have a file called main.min.css, the min meaning minified. and just pointing to that css once site is complete instead of the one we are using now. so if you ever make a change, you just update the un minified one, then recompress it and copy to the main.min file. so you have the base one to edit/easy to read, and the min one thats super light. win win.
Justin Bernard on March 4, 2015:
per the indenting/structuring, actually it does look at the explicit pathing (its not just skipping to the last div)
for instance, you could do something like this
#home_container .top_nav_horz_strip {
color: red;
}
#journal_container .top_nav_horz_strip {
color: blue;
}
and those could be two diff things, as one lives within home_container, and another within journal.
why do stuff like this? imagine if you had a diff header image on the journal page, so you needed color to be diff, but everything else is the same. with this kind of explicit pathing, you are setting yourself up to allow something like that later down the road.
Justin Bernard on March 5, 2015:
Justin Bernard on March 5, 2015:
Taylor Bernard on March 5, 2015:
http://cloud.fleeangrybear.com/3x1j1M2K2l26
check out the contact page.
got everything working. pretty proud of that.
only issue is that on the span classes, the semibold, and blue, for some reason are adding double space under them when i change them from the normal parent font style.
so you can see on any blue or bold txt theres more space than the normal line spacing under it till the next line.
stripped out everything but font face and color in the span class as well to make sure it wasnt doubling line spacing or something but still doing it.
let me know what you see.
and on the google api...
use the AB email to get 2 keys
https://developers.google.com/maps/documentation/embed/guide#api_key
im thinking need 2 keys since its 2 different maps/addresses
Justin Bernard on March 5, 2015:
here's one trick, i see you wrote get directions all caps once and another time not. add this little property to the class that makes that blue text, and just write it normal in the html
text-transform: uppercase;
it forces all chats uppercase
per the spacing issue, its probably some inherit/default spacing added to span
do this, on this class
#cali_office_container #office_address_container #address .blue { display: block; font-family: 'CalibreRegular'; font-size: 16px; color: #39a2c1; }
add:
padding: 0px;
margin: 0px;
then you'll need to add padding-bottom: ##px to get the spacing correct. just screen cap what it becomes by clearing margin/padding, then add padding-bottom to its the right vert spacing. that should do the trick
i'll grab you those keys later
thx
Taylor Bernard on March 6, 2015:
took out the break after the line on 'get directions' and that fixed it. somehow it's auto line breaking with /span so adding in another <br> double spaces it?
this fixes it:
422 E. Vermijo Ave, Suite 415<br />
Colorado Springs, CO 80903<br />
<span class="blue">GET DIRECTIONS</span>
–<br />
<span class="semibold">New Business</span><br />
(719) 344-8350<br />
info@webbfsd.com<br />
Justin Bernard on March 8, 2015:
AIzaSyD9eIAXnP-Yje1h8gaSKg8JHQekphx6FjU
Justin Bernard on March 8, 2015:
Taylor Bernard on March 9, 2015:
Taylor Bernard on March 9, 2015:
Justin Bernard on March 9, 2015:
if you make a todo item, i can look at my open todo's easily and see whats standing.
i just moved it to there. use that in future, todo's assigned to me for bug/needs to be done, discussion threads for more conversational stuff, questions, stuff thats not for me to do so much indidivually
Taylor Bernard on March 9, 2015:
http://cloud.fleeangrybear.com/2X1z461X2y0R
Taylor Bernard on March 9, 2015:
Justin Bernard on March 9, 2015:
Justin Bernard on March 9, 2015:
Taylor Bernard on March 9, 2015:
Justin Bernard on March 9, 2015:
make the index.html be called home instead, and make an actual index page for browsing content, so we can make a checklist of pages done and needed to be done. i mentioned this last week, use the banner page index we normally use.
Taylor Bernard on March 9, 2015:
i got one of the maps working. used same key for the other map, no go. made a new api/new key for the other map, no go. duplicated working map twice on the same page, no go. something squirrely with it but at least got 1 map working in there for placeholder.
Justin Bernard on March 9, 2015:
http://client.fleeangrybear.com/webb/maverick/index.html
Justin Bernard on March 10, 2015:
make a page inventory/listing right now on basecamp todo list, i made a few that i know of. make one for every page, seperate for every psd, such as ipad and desktop view of each page.
work on one page at a time, when you get done with it, assign it to me. if you hit bugs/issues too hard, make note in css bug list.
Justin Bernard on March 13, 2015:
"Also, I made a small modification to the tablet view, project subpage. Both PDF's contain notes."
see what he's talking about? is it significant to update/change?
Justin Bernard on March 16, 2015:
thx
Taylor Bernard on March 16, 2015:
Justin Bernard on March 16, 2015:
where you making notes at?
Taylor Bernard on March 16, 2015:
Justin Bernard on March 16, 2015:
Taylor Bernard on March 16, 2015:
whats best way to nest those 4 divs in that side?
Justin Bernard on March 16, 2015:
don't mess with it, just make a note and you can consider the page done with it still missing, i can get to it thurs this week most likely
thx
Taylor Bernard on March 20, 2015:
here's updated splash page.
http://client.fleeangrybear.com/webb/maverick/index.html
few notes to pass on:
- journal subpage 'top overlap over header' not implemented yet
- home desktop 'about' image overlap not implemented yet
- no underline on any of the txt yet (have to figure out how to best pull off)
- mobile/contact maps are placeholders only for now.
Justin Bernard on March 20, 2015:
one thing i noticed, the section titles that have icons, the icon seems to be shifted off a little from how its supposed to be vertically positioned (too far down). viewing on chrome/mac. you may need to add some top padding to the div to bump the text down to center it vertically with those icons.