forked from Cerdic/CSSTidy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
testing/unit-tests/csst/print-plain/font-face-atmedia.csst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--TEST-- | ||
Test simple CSS print | ||
--CSS-- | ||
/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ | ||
Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ | ||
/* The content of the posts (body of text) */ | ||
/* General page style */ | ||
|
||
/* begin suggest post */ | ||
.float-l { | ||
float : left ; | ||
} | ||
|
||
@font-face { | ||
font-family: GillSans; | ||
src:url("/generic/fonts/GillSansC.otf") format('opentype'); | ||
font-style: normal; | ||
font-weight: bold; | ||
} | ||
|
||
@media print { | ||
.font-9{ | ||
font-size: 9px; | ||
} | ||
} | ||
|
||
.form-suggest { | ||
height : 200px ; | ||
background : #DEE2D0 ; | ||
vertical-align : top; | ||
} | ||
|
||
|
||
--PRINT-- | ||
@media screen { | ||
.float-l{float:left} | ||
} | ||
@font-face{font-family:GillSans;src:url(/generic/fonts/GillSansC.otf) format("opentype");font-style:normal;font-weight:700} | ||
@media print { | ||
.font-9{font-size:9px} | ||
} | ||
@media screen { | ||
.form-suggest{height:200px;background:#DEE2D0;vertical-align:top} | ||
} | ||
--SETTINGS-- | ||
template='high' | ||
sort_properties=false | ||
sort_selectors=false | ||
default_media="@media screen" |