示例#1
0
        public void WriteImport(Value toImport, MediaQuery forMedia)
        {
            _wrapped.Write("@import");
            _wrapped.Write(' ');
            toImport.Write(_wrapped);

            if (!(forMedia is MediaType) || ((MediaType)forMedia).Type != Media.all)
            {
                _wrapped.Write(' ');
                forMedia.Write(_wrapped);
            }

            _wrapped.Write(';');
        }
示例#2
0
 public void WriteMedia(MediaQuery forMedia)
 {
     _wrapped.Write("@media ");
     forMedia.Write(_wrapped);
 }